#34 NXC : Problem with file NXTDefs.h

open
nobody
None
5
2013-01-02
2010-12-04
Anonymous
No

Hello,
I'm using nbc version 1.0.1.b35 on Mac OS, and each time I try to compile a file using functions defined in NXTDefs.h (through #include "NXTDefs.h") I get the following error :

# Error: Preprocessor macro function does not match instance (#asm {
GetVolume(__TMPBYTE__) __RETURN__ __TMPBYTE__ })

This happens even if my .nxc file only contains the NXTDefs.h reference and an empty task main().

Discussion