View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001745 | Spring engine | General | public | 2009-11-28 12:03 | 2009-11-28 14:24 | ||||
Reporter | hoijui | ||||||||
Assigned To | tvo | ||||||||
Priority | high | Severity | block | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.80.5+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001745: compile error after changes to myMath.h | ||||||||
Description | since commit: a1c92dfe9d2aafc1e9f44439ad530f75 compiling with gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3 boost 1.35 | ||||||||
Additional Information | [ 49%] Building CXX object rts/CMakeFiles/spring.dir/Rendering/Env/GrassDrawer.cpp.o [ 49%] Building CXX object rts/CMakeFiles/spring.dir/Rendering/Env/BumpWater.cpp.o [ 49%] Built target GAI [ 49%] Building CXX object rts/CMakeFiles/spring.dir/Rendering/Env/AdvWater.cpp.o In file included from /usr/include/boost/function/function_base.hpp:53, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:25, from rts/System/ConfigHandler.h:20, from rts/Rendering/Env/GrassDrawer.cpp:16: /usr/include/c++/4.3/cstring: In function ÔÇÿvoid* std::memchr(void*, int, size_t)ÔÇÖ: /usr/include/c++/4.3/cstring:101: error: ÔÇÿvoid* std::memchr(void*, int, size_t)ÔÇÖ conflicts with previous using declaration ÔÇÿvoid* memchr(void*, int, size_t)ÔÇÖ /usr/include/c++/4.3/cstring:102: error: call of overloaded ÔÇÿmemchr(const void*, int&, size_t&)ÔÇÖ is ambiguous /usr/include/string.h:67: note: candidates are: void* memchr(void*, int, size_t) <near match> /usr/include/c++/4.3/cstring:101: note: void* std::memchr(void*, int, size_t) <near match> /usr/include/c++/4.3/cstring: In function ÔÇÿchar* std::strchr(char*, int)ÔÇÖ: /usr/include/c++/4.3/cstring:107: error: ÔÇÿchar* std::strchr(char*, int)ÔÇÖ conflicts with previous using declaration ÔÇÿchar* strchr(char*, int)ÔÇÖ /usr/include/c++/4.3/cstring: In function ÔÇÿchar* std::strrchr(char*, int)ÔÇÖ: /usr/include/c++/4.3/cstring:119: error: ÔÇÿchar* std::strrchr(char*, int)ÔÇÖ conflicts with previous using declaration ÔÇÿchar* strrchr(char*, int)ÔÇÖ make[2]: *** [rts/CMakeFiles/spring.dir/Rendering/Env/GrassDrawer.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/boost/function/function_base.hpp:53, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:25, from rts/System/ConfigHandler.h:20, from rts/Rendering/Env/BumpWater.cpp:33: /usr/include/c++/4.3/cstring: In function ÔÇÿvoid* std::memchr(void*, int, size_t)ÔÇÖ: /usr/include/c++/4.3/cstring:101: error: ÔÇÿvoid* std::memchr(void*, int, size_t)ÔÇÖ conflicts with previous using declaration ÔÇÿvoid* memchr(void*, int, size_t)ÔÇÖ /usr/include/c++/4.3/cstring:102: error: call of overloaded ÔÇÿmemchr(const void*, int&, size_t&)ÔÇÖ is ambiguous /usr/include/string.h:67: note: candidates are: void* memchr(void*, int, size_t) <near match> /usr/include/c++/4.3/cstring:101: note: void* std::memchr(void*, int, size_t) <near match> /usr/include/c++/4.3/cstring: In function ÔÇÿchar* std::strchr(char*, int)ÔÇÖ: /usr/include/c++/4.3/cstring:107: error: ÔÇÿchar* std::strchr(char*, int)ÔÇÖ conflicts with previous using declaration ÔÇÿchar* strchr(char*, int)ÔÇÖ /usr/include/c++/4.3/cstring: In function ÔÇÿchar* std::strrchr(char*, int)ÔÇÖ: /usr/include/c++/4.3/cstring:119: error: ÔÇÿchar* std::strrchr(char*, int)ÔÇÖ conflicts with previous using declaration ÔÇÿchar* strrchr(char*, int)ÔÇÖ make[2]: *** [rts/CMakeFiles/spring.dir/Rendering/Env/BumpWater.cpp.o] Error 1 make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2 make: *** [all] Error 2 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
tvo (reporter) 2009-11-28 14:24 |
fixed, in that commit some identifiers with illegal names were introduced (double underscore is reserved for compiler vendor and indeed __const clashed with GCC's __const keyword) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-28 12:03 | hoijui | New Issue | |
2009-11-28 14:23 | tvo | Status | new => assigned |
2009-11-28 14:23 | tvo | Assigned To | => tvo |
2009-11-28 14:24 | tvo | Note Added: 0004387 | |
2009-11-28 14:24 | tvo | Status | assigned => resolved |
2009-11-28 14:24 | tvo | Resolution | open => fixed |