2025-07-25 23:39 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003726Spring engine(No Category)public2013-04-21 10:07
Reporterabma 
Assigned Tozerver 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0003726: gml doesn't compile with clang: gmlcls.h:238:20: error: use of undeclared identifier 'boost'
DescriptionIn file included from /home/buildbot/slave/full-clang/build/rts/Game/Camera.cpp:5:
In file included from /home/buildbot/slave/full-clang/build/rts/Game/Camera.h:6:
In file included from /home/buildbot/slave/full-clang/build/rts/Rendering/GL/myGL.h:17:
In file included from /home/buildbot/slave/full-clang/build/rts/lib/gml/gml.h:31:
/home/buildbot/slave/full-clang/build/rts/lib/gml/gmlcls.h:238:20: error: use of undeclared identifier 'boost'
                        ((T*)lockdata)->boost::template unique_lock::~unique_lock();
                                        ^
/home/buildbot/slave/full-clang/build/rts/Game/Camera.h:34:21: note: in instantiation of member function 'gmlBaseMutexLock<boost::unique_lock<boost::recursive_mutex>, boost::recursive_mutex>::~gmlBaseMutexLock' requested here
                GML_RECMUTEX_LOCK(cam); // ClearFrustumSides
                                  ^
/home/buildbot/slave/full-clang/build/rts/lib/gml/gmlmut.h:161:62: note: expanded from macro 'GML_RECMUTEX_LOCK'
# define GML_RECMUTEX_LOCK(name) gmlRecursiveMutexScopedLock name##lock(name##mutex)
                                                                   ^
<scratch space>:134:1: note: expanded from macro 'cam'
camlock
^
1 error generated.
Steps To Reproducerun clang buildslave
Additional Informationhttp://buildbot.springrts.com/builders/full-clang/builds/16/steps/buildConfig/logs/stdio
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010515

zerver (reporter)

better?

~0010517

abma (administrator)

thanks, works!

it still doesn't compile, but this specific error is gone.
+Notes

-Issue History
Date Modified Username Field Change
2013-04-20 14:03 abma New Issue
2013-04-20 19:31 zerver Assigned To => zerver
2013-04-20 19:31 zerver Status new => assigned
2013-04-20 19:48 zerver Note Added: 0010515
2013-04-21 10:07 abma Note Added: 0010517
2013-04-21 10:07 abma Status assigned => resolved
2013-04-21 10:07 abma Resolution open => fixed
2014-01-16 16:06 abma Category Spring MT => (No Category)
+Issue History