Guest User

Untitled

a guest
Aug 26th, 2015
170
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. read_primitives.hpp:18:
  2. C:\Users\Alex\Desktop\visual\include\boost/detail/interlocked.hpp(184,52) : error(clang):
  3. function declared 'stdcall' here was previously declared without calling
  4. convention
  5. extern "C" BOOST_INTERLOCKED_IMPORT long __stdcall InterlockedExchange( ...
  6. ^
  7. C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(5172,29) : note(clang):
  8. expanded from macro 'InterlockedExchange'
  9. #define InterlockedExchange _InterlockedExchange
  10. ^
  11. C:\PROGRA~2\LLVM\bin\..\lib\clang\3.8.0\include\intrin.h(219,6) : note(clang):
  12. previous declaration is here
  13. long _InterlockedExchange(long volatile *_Target, long _Value);
  14. ^
  15. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  16. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  17. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  18. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  19. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  20. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  21. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  22. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  23. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  24. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  25. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp:18:
  26. C:\Users\Alex\Desktop\visual\include\boost/detail/interlocked.hpp(185,52) : error(clang):
  27. function declared 'stdcall' here was previously declared without calling
  28. convention
  29. extern "C" BOOST_INTERLOCKED_IMPORT long __stdcall InterlockedExchangeAd...
  30. ^
  31. C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(5176,32) : note(clang):
  32. expanded from macro 'InterlockedExchangeAdd'
  33. #define InterlockedExchangeAdd _InterlockedExchangeAdd
  34. ^
  35. C:\PROGRA~2\LLVM\bin\..\lib\clang\3.8.0\include\intrin.h(225,14) : note(clang):
  36. previous declaration is here
  37. long __cdecl _InterlockedExchangeAdd(long volatile *_Addend, long _Value);
  38. ^
  39. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  40. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  41. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  42. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  43. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  44. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  45. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  46. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  47. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  48. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  49. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(164,55) : error(clang):
  50. conflicting types for 'CreateMutexA'
  51. __declspec(dllimport) void* __stdcall CreateMutexA(_SECU...
  52. ^
  53. C:\Program Files (x86)\Windows Kits\8.1\include\um\synchapi.h(535,1) : note(clang):
  54. previous declaration is here
  55. CreateMutexA(
  56. ^
  57. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  58. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  59. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  60. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  61. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  62. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  63. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  64. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  65. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  66. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  67. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(165,55) : error(clang):
  68. conflicting types for 'CreateSemaphoreA'
  69. __declspec(dllimport) void* __stdcall CreateSemaphoreA(_...
  70. ^
  71. C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(3002,1) : note(clang):
  72. previous declaration is here
  73. CreateSemaphoreA(
  74. ^
  75. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  76. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  77. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  78. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  79. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  80. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  81. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  82. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  83. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  84. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  85. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(166,55) : error(clang):
  86. conflicting types for 'CreateEventA'
  87. __declspec(dllimport) void* __stdcall CreateEventA(_SECU...
  88. ^
  89. C:\Program Files (x86)\Windows Kits\8.1\include\um\synchapi.h(590,1) : note(clang):
  90. previous declaration is here
  91. CreateEventA(
  92. ^
  93. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  94. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  95. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  96. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  97. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  98. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  99. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  100. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  101. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  102. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  103. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(183,54) : warning(clang):
  104. redeclaration of 'Sleep' should not add 'dllimport' attribute
  105. [-Wdll-attribute-on-redeclaration]
  106. __declspec(dllimport) void __stdcall Sleep(unsigned long);
  107. ^
  108. C:\Users\Alex\Desktop\visual\include\boost/smart_ptr/detail/yield_k.hpp(63,29) : note(clang):
  109. previous declaration is here
  110. extern "C" void __stdcall Sleep( unsigned long ms );
  111. ^
  112. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  113. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  114. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  115. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  116. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  117. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  118. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  119. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  120. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  121. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  122. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(223,67) : error(clang):
  123. conflicting types for 'GetProcAddress'
  124. __declspec(dllimport) detail::farproc_t __stdcall GetPro...
  125. ^
  126. C:\Program Files (x86)\Windows Kits\8.1\include\um\libloaderapi.h(360,1) : note(clang):
  127. previous declaration is here
  128. GetProcAddress(
  129. ^
  130. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  131. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  132. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  133. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  134. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  135. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  136. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  137. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  138. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  139. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  140. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(225,56) : error(clang):
  141. functions that differ only in their return type cannot be overloaded
  142. __declspec(dllimport) void * __stdcall GetModuleHandleA(...
  143. ^
  144. C:\Program Files (x86)\Windows Kits\8.1\include\um\libloaderapi.h(276,1) : note(clang):
  145. previous declaration is here
  146. GetModuleHandleA(
  147. ^
  148. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp:3:
  149. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/AAirMoveType.h:6:
  150. In file included from C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes/MoveType.h:7:
  151. In file included from C:\Users\Alex\Desktop\spring\rts\Sim/Misc/AirBaseHandler.h:10:
  152. In file included from C:\Users\Alex\Desktop\spring\rts\System/Object.h:10:
  153. In file included from C:\Users\Alex\Desktop\spring\rts\System/Platform/Threading.h:19:
  154. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread.hpp:13:
  155. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread.hpp:12:
  156. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/thread_only.hpp:15:
  157. In file included from C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_data.hpp:11:
  158. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(232,9) : warning(clang):
  159. unknown pragma ignored [-Wunknown-pragmas]
  160. #pragma intrinsic(_InterlockedCompareExchange)
  161. ^
  162. C:\Users\Alex\Desktop\visual\include\boost/thread/win32/thread_primitives.hpp(337,36) : error(clang):
  163. no member named 'CreateEventA' in namespace 'boost::detail::win32'; did
  164. you mean simply 'CreateEventA'?
  165. handle const res = win32::CreateEventA(0, type, state, m...
  166. ^~~~~~~~~~~~~~~~~~~
  167. CreateEventA
  168. C:\Program Files (x86)\Windows Kits\8.1\include\um\synchapi.h(590,1) : note(clang):
  169. 'CreateEventA' declared here
  170. CreateEventA(
  171. ^
  172. fatal error(clang): too many errors emitted, stopping now [-ferror-limit=]
  173. 3 warnings and 20 errors generated.
  174. clang-cl.exe: warning: falling back to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe
  175. AAirMoveType.cpp
  176. Unknown compiler version - please run the configure tests and report the results
  177. C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp(15): error C2259: 'AAirMoveType': cannot instantiate abstract class
  178. C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp(15): note: due to following members:
  179. C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp(15): note: 'void AMoveType::StartMoving(float3,float,float)': is abstract
  180. c:\users\alex\desktop\spring\rts\sim\movetypes\MoveType.h(23): note: see declaration of 'AMoveType::StartMoving'
  181. C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp(15): note: 'void AMoveType::StartMoving(float3,float)': is abstract
  182. c:\users\alex\desktop\spring\rts\sim\movetypes\MoveType.h(22): note: see declaration of 'AMoveType::StartMoving'
  183. C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp(15): note: 'void AMoveType::KeepPointingTo(float3,float,bool)': is abstract
  184. c:\users\alex\desktop\spring\rts\sim\movetypes\MoveType.h(24): note: see declaration of 'AMoveType::KeepPointingTo'
  185. C:\Users\Alex\Desktop\spring\rts\Sim\MoveTypes\AAirMoveType.cpp(15): note: 'void AMoveType::StopMoving(bool,bool)': is abstract
  186. c:\users\alex\desktop\spring\rts\sim\movetypes\MoveType.h(26): note: see declaration of 'AMoveType::StopMoving'
  187. clang-cl.exe: error: clang frontend command failed with exit code 2 (use -v to see invocation)
  188. NMAKE : fatal error U1077: 'C:\PROGRA~2\LLVM\bin\clang-cl.exe' : return code '0x2'
  189. Stop.
  190. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
  191. Stop.
  192. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
  193. Stop.
  194. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
  195. Stop.
  196.  
  197. C:\Users\Alex\Desktop\spring-build>
RAW Paste Data