Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 11th, 2010  |  syntax: None  |  size: 5.49 KB  |  views: 240  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 1>ClCompile:
  2. 1>  main.cpp
  3. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(28): error C2903: 'result' : symbol is neither a class template nor a function template
  4. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40) : see reference to class template instantiation 'std::tr1::_Result_type1<__formal,_Fty,_Arg0>' being compiled
  5. 1>          with
  6. 1>          [
  7. 1>              __formal=false,
  8. 1>              _Fty=A,
  9. 1>              _Arg0=int &
  10. 1>          ]
  11. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxresult(597) : see reference to class template instantiation 'std::tr1::_Result_of1<_Fty,_Farg0>' being compiled
  12. 1>          with
  13. 1>          [
  14. 1>              _Fty=A,
  15. 1>              _Farg0=int &
  16. 1>          ]
  17. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxcallobj(13) : see reference to class template instantiation 'std::tr1::_Result_of<_Ty>' being compiled
  18. 1>          with
  19. 1>          [
  20. 1>              _Ty=A (int &)
  21. 1>          ]
  22. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxfunction(65) : see reference to function template instantiation '_Ret std::tr1::_Callable_obj<_Ty>::_ApplyX<_Rx,_Arg0&>(int)' being compiled
  23. 1>          with
  24. 1>          [
  25. 1>              _Ret=int,
  26. 1>              _Ty=std::tr1::reference_wrapper<A>,
  27. 1>              _Rx=int,
  28. 1>              _Arg0=int
  29. 1>          ]
  30. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxfunction(64) : while compiling class template member function 'int std::tr1::_Impl_no_alloc1<_Callable,_Rx,_Arg0>::_Do_call(_Arg0)'
  31. 1>          with
  32. 1>          [
  33. 1>              _Callable=_MyWrapper,
  34. 1>              _Rx=int,
  35. 1>              _Arg0=int
  36. 1>          ]
  37. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxfunction(386) : see reference to class template instantiation 'std::tr1::_Impl_no_alloc1<_Callable,_Rx,_Arg0>' being compiled
  38. 1>          with
  39. 1>          [
  40. 1>              _Callable=_MyWrapper,
  41. 1>              _Rx=int,
  42. 1>              _Arg0=int
  43. 1>          ]
  44. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxfunction(369) : see reference to function template instantiation 'void std::tr1::_Function_impl1<_Ret,_Arg0>::_Reset0o<_Myimpl,_Fty,std::allocator<_Ty>>(_Fty,_Alloc)' being compiled
  45. 1>          with
  46. 1>          [
  47. 1>              _Ret=int,
  48. 1>              _Arg0=int,
  49. 1>              _Fty=std::tr1::reference_wrapper<A>,
  50. 1>              _Ty=std::tr1::_Function_impl1<int,int>,
  51. 1>              _Alloc=std::allocator<std::tr1::_Function_impl1<int,int>>
  52. 1>          ]
  53. 1>          c:\program files\microsoft visual studio 10.0\vc\include\functional(126) : see reference to function template instantiation 'void std::tr1::_Function_impl1<_Ret,_Arg0>::_Reset<std::tr1::reference_wrapper<_Ty>>(_Fty)' being compiled
  54. 1>          with
  55. 1>          [
  56. 1>              _Ret=int,
  57. 1>              _Arg0=int,
  58. 1>              _Ty=A,
  59. 1>              _Fty=std::tr1::reference_wrapper<A>
  60. 1>          ]
  61. 1>          c:\users\gaspa\desktop\prova\main.cpp(15) : see reference to function template instantiation 'std::tr1::function<_Fty>::function<A>(std::tr1::reference_wrapper<_Ty>)' being compiled
  62. 1>          with
  63. 1>          [
  64. 1>              _Fty=int (int),
  65. 1>              _Ty=A
  66. 1>          ]
  67. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(28): error C2039: 'result' : is not a member of 'A'
  68. 1>          c:\users\gaspa\desktop\prova\main.cpp(5) : see declaration of 'A'
  69. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(28): error C2143: syntax error : missing ';' before '<'
  70. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  71. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(28): error C2039: 'type' : is not a member of '`global namespace''
  72. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(28): error C2238: unexpected token(s) preceding ';'
  73. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40): error C2039: '_Type' : is not a member of 'std::tr1::_Result_type1<__formal,_Fty,_Arg0>'
  74. 1>          with
  75. 1>          [
  76. 1>              __formal=false,
  77. 1>              _Fty=A,
  78. 1>              _Arg0=int &
  79. 1>          ]
  80. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40): error C2146: syntax error : missing ';' before identifier '_Type'
  81. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  82. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40): error C2602: 'std::tr1::_Result_of1<_Fty,_Farg0>::_Type' is not a member of a base class of 'std::tr1::_Result_of1<_Fty,_Farg0>'
  83. 1>          with
  84. 1>          [
  85. 1>              _Fty=A,
  86. 1>              _Farg0=int &
  87. 1>          ]
  88. 1>          c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40) : see declaration of 'std::tr1::_Result_of1<_Fty,_Farg0>::_Type'
  89. 1>          with
  90. 1>          [
  91. 1>              _Fty=A,
  92. 1>              _Farg0=int &
  93. 1>          ]
  94. 1>c:\program files\microsoft visual studio 10.0\vc\include\xxresult(40): error C2868: 'std::tr1::_Result_of1<_Fty,_Farg0>::_Type' : illegal syntax for using-declaration; expected qualified-name
  95. 1>          with
  96. 1>          [
  97. 1>              _Fty=A,
  98. 1>              _Farg0=int &
  99. 1>          ]
  100. 1>
  101. 1>Build FAILED.