moonshineTheleocat / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

#end in btScalar.h causing "Invalid preprocessing directive" error in Xcode debug #674

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Build bullet in *debug* mode in Xcode
2. Get error "Invalid preprocessing directive"
3. On line 210 in BtScalar.h, here:

#else//defined (__i386__) || defined (__x86_64__)
    #define btAssert assert
#end//defined (__i386__) || defined (__x86_64__) <<-- ERROR
#endif

Simply remove #end, and it compiles without error.

Xcode 4.5.2, OSX 10.7.4, Bullet trunk

Original issue reported on code.google.com by m...@danielsefton.com on 24 Nov 2012 at 7:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am not compiling on OSX but try this patch.

Original comment by joshua.d...@gmail.com on 24 Nov 2012 at 1:33

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2622.

Original comment by erwin.coumans on 24 Nov 2012 at 10:14