TheIllusionistMirage Posted June 4, 2016 Posted June 4, 2016 Hello!I downloaded Torque3D's source and I'm building it on Fedora 22, 32-bit using g++ 5.3.1. After doing the regualr procedure with cmake and generating codeblocks-unix makefiles, while compiling I'm getting this error: /home/koushtav/Downloads/Torque3D-master/Engine/source/platform/platformIntrinsics.h|44|error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]| I'm unable to understand why the template function defined there:template< typename T > inline bool dCompareAndSwap( T* volatile& refPtr, T* oldPtr, T* newPtr ) { return dCompareAndSwap( *reinterpret_cast< volatile size_t* >( &refPtr ), ( size_t ) oldPtr, ( size_t ) newPtr ); } is giving that error during compilation. Help or pointers are appreciated.Thanks Quote
Johxz Posted June 7, 2016 Posted June 7, 2016 hey @TheIllusionistMirage ;) men sorry but I don't have linux to test it. But please check the wiki http://wiki.torque3d.org/coder:compiling-in-linux maybe you miss a step :roll: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.