-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Below are my error messages when I tried to build a SpaceInvader project:
../../SpaceInvadersV0/Location.h:6:1: error: declaration of anonymous class must be a definition
class [[rt::auto_descriptor]] Location
../RTType_Location.h:12:41: error: unknown type name 'Location'
inline RTTypedValue_Location( const Location & rtg_value )
^
../RTType_Location.h:17:41: error: unknown type name 'Location'
inline RTTypedValue_Location( const Location && rtg_value )
../RTType_Location.h:23:41: error: unknown type name 'Location'
inline RTTypedValue_Location( const Location & rtg_value, const RTObject_class * rtg_type )
^
../RTType_Location.h:28:41: error: unknown type name 'Location'
inline RTTypedValue_Location( const Location && rtg_value, const RTObject_class * rtg_type )
../Bullet2BunkerConn.h:11:10: error: function definition does not declare parameters
char name[ 100 ] { "[EBC]\t" } ;
../Bullet2BunkerConn.h:22:44: error: unknown type name 'Location'
void transition2_passingOnCheck( const Location * rtdata, CheckHitProt::Conjugate * rtport );
^
../Bullet2BunkerConn.cpp:23:18: error: use of undeclared identifier 'name'
std::cout << name << "up" << std::endl;
^
../Bullet2BunkerConn.cpp:27:59: error: unknown type name 'Location'
void Bullet2BunkerConn::transition2_passingOnCheck( const Location * rtdata, CheckHitProt::Conjugate * rtport )
^
../Bullet2BunkerConn.cpp:30:5: error: unknown type name 'Location'
Location loc = *rtdata;
^
../Bullet2BunkerConn.cpp:69:52: error: unknown type name 'Location'
transition2_passingOnCheck( static_cast< const Location * > ( msg->data ), static_cast< CheckHitProt::Conjugate * > ( msg->sap() ) );
I am using MacOS 13.2.1, with Clang version 14.0.3. An reason that we are thinking is that my current clang version does not support [rt::auto_descriptor]. But we not not sure. Please suggest.
The target configuration in defaultTC.tcjs has been updated to: tc.targetConfiguration = 'MacT.AArch64-Clang-15.x';
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels