View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003729 | Spring engine | General | public | 2013-04-21 12:15 | 2013-05-06 00:32 | ||||
Reporter | abma | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003729: clang compile error with CR_BIND_TEMPLATE | ||||||||
Description | seems to happen for most/all CR_BIND_TEMPLATE /home/buildbot/slave/full-clang/build/rts/Sim/Projectiles/ProjectileHandler.cpp:43:1: error: explicit specialization of 'binder' after instantiation CR_BIND_TEMPLATE(ProjectileContainer, ) ^ /home/buildbot/slave/full-clang/build/rts/System/creg/creg.h:448:37: note: expanded from macro 'CR_BIND_TEMPLATE' template<> creg::ClassBinder TCls::binder(#TCls, 0, 0, &TCls::memberRegistrator, sizeof(TCls), alignof(TCls), TCls::hasVTable, TCls::_ConstructInstance, TCls::_DestructInstance); ^ /home/buildbot/slave/full-clang/build/rts/Sim/Projectiles/ProjectileHandler.cpp:43:1: note: implicit instantiation first required here CR_BIND_TEMPLATE(ProjectileContainer, ) ^ /home/buildbot/slave/full-clang/build/rts/System/creg/creg.h:445:58: note: expanded from macro 'CR_BIND_TEMPLATE' template<> creg::Class* TCls::GetClass() const { return binder.class_; } \ ^ /home/buildbot/slave/full-clang/build/rts/Sim/Projectiles/ProjectileHandler.cpp:48:1: error: explicit specialization of 'binder' after instantiation CR_BIND_TEMPLATE(GroundFlashContainer, ) ^ /home/buildbot/slave/full-clang/build/rts/System/creg/creg.h:448:37: note: expanded from macro 'CR_BIND_TEMPLATE' template<> creg::ClassBinder TCls::binder(#TCls, 0, 0, &TCls::memberRegistrator, sizeof(TCls), alignof(TCls), TCls::hasVTable, TCls::_ConstructInstance, TCls::_DestructInstance); ^ /home/buildbot/slave/full-clang/build/rts/Sim/Projectiles/ProjectileHandler.cpp:48:1: note: implicit instantiation first required here CR_BIND_TEMPLATE(GroundFlashContainer, ) ^ /home/buildbot/slave/full-clang/build/rts/System/creg/creg.h:445:58: note: expanded from macro 'CR_BIND_TEMPLATE' template<> creg::Class* TCls::GetClass() const { return binder.class_; } \ ^ | ||||||||
Additional Information | an other case: rts/System/SafeVector.cpp:10:1: error: explicit specialization of 'binder' after instantiation CR_BIND_TEMPLATE(safe_vector<float>, ); ^ rts/System/creg/creg.h:448:37: note: expanded from macro 'CR_BIND_TEMPLATE' template<> creg::ClassBinder TCls::binder(#TCls, 0, 0, &TCls::memberRegistrator, sizeof(TCls), alignof(TCls), TCls::hasVTable, TCls::_ConstructInstance, TCls::_DestructInstance); ^ rts/System/SafeVector.cpp:10:1: note: implicit instantiation first required here CR_BIND_TEMPLATE(safe_vector<float>, ); ^ rts/System/creg/creg.h:445:58: note: expanded from macro 'CR_BIND_TEMPLATE' template<> creg::Class* TCls::GetClass() const { return binder.class_; } \ ^ 1 error generated. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|