View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004347 | Spring engine | Mac OS X | public | 2014-03-27 17:29 | 2014-06-23 00:45 | ||||
Reporter | LordMatt | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 96.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004347: 0.97rc1 gcc compile fails on MacOS X whereas 0.96 compile succeeds | ||||||||
Description | While I had previously gotten spring 0.96 to compile on MacOS X with gcc 4.7, 0.97rc1 does not compile with this error: [ 44%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o cd /Users/matt/Desktop/spring_src_gcc/rts/builds/legacy && /usr/local/bin/g++-4.7 -DBOOST_NO_FENV_H -DMACOSX_BUNDLE -DSPRING_DATADIR=\"\" -DSTREFLOP_SSE -DSYNCCHECK -DTHREADPOOL -DUSE_FONTCONFIG -DUSE_LIBSQUISH -D_GLIBCXX_USE_NANOSLEEP -D_RANDOM_TCC -std=gnu++11 -mtune=generic -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility-inlines-hidden -pthread -O2 -Wno-unknown-pragmas -DNDEBUG -g -I/Users/matt/Desktop/spring_src_gcc/rts/lib/lua/include -I/usr/local/Cellar/boost/1.55.0_1/include -I/Users/matt/Desktop/spring_src_gcc/include/AL -I/Users/matt/Desktop/spring_src_gcc/rts/lib -I/Users/matt/Desktop/spring_src_gcc/rts -I/opt/local/include -I/Users/matt/Desktop/spring_src_gcc/src-generated/engine -I/opt/local/include/SDL2 -I/opt/local/include/freetype2 -I/System/Library/Frameworks/OpenAL.framework/Headers -fPIC -o CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o -c /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp In file included from /Users/matt/Desktop/spring_src_gcc/rts/System/creg/creg.h:336:0, from /Users/matt/Desktop/spring_src_gcc/rts/System/creg/creg_cond.h:16, from /Users/matt/Desktop/spring_src_gcc/rts/System/Object.h:10, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Objects/WorldObject.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/ExplosionGenerator.h:11, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/Projectile.h:12, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.h:6, from /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:4: /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h: In instantiation of 'boost::shared_ptr<creg::IType> creg::DeduceType<T>::Get() [with T = long unsigned int]': /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h:126:20: required from 'boost::shared_ptr<creg::IType> creg::GetType(T&) [with T = long unsigned int]' /Users/matt/Desktop/spring_src_gcc/rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp:30:1: required from here /Users/matt/Desktop/spring_src_gcc/rts/System/creg/TypeDeduction.h:20:113: error: 'StaticClass' is not a member of 'long unsigned int' make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp.o] Error 1 make[1]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2 make: *** [all] Error 2 abma suggested commits 5b1aa97e802deae3ce983eee2c92ada590686bb1 and 97f3aa1b6baf4e11c4f791b3b697ada7abdaa03f might be related Similar to the error reported here: http://springrts.com/phpbb/viewtopic.php?p=554799#p554799 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
abma (administrator) 2014-04-04 14:23 |
for the lazy: https://github.com/spring/spring/commit/5b1aa97e802deae3ce983eee2c92ada590686bb1 https://github.com/spring/spring/commit/97f3aa1b6baf4e11c4f791b3b697ada7abdaa03f |
cleanrock (reporter) 2014-06-22 08:29 |
One more OSX spring user was stopped by this: http://springrts.com/phpbb/viewtopic.php?f=65&t=32275 |
Kloot (developer) 2014-06-22 21:26 |
quickfix: replace all size_t's in StarburstProjectile.* by unsigned int's |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-27 17:29 | LordMatt | New Issue | |
2014-04-04 14:23 | abma | Note Added: 0012982 | |
2014-05-01 01:46 | abma | Description Updated | View Revisions |
2014-06-22 08:29 | cleanrock | Note Added: 0013315 | |
2014-06-22 21:26 | Kloot | Note Added: 0013316 | |
2014-06-23 00:45 | Kloot | Changeset attached | => spring develop 95637316 |
2014-06-23 00:45 | Kloot | Assigned To | => Kloot |
2014-06-23 00:45 | Kloot | Status | new => resolved |
2014-06-23 00:45 | Kloot | Resolution | open => fixed |