Page 1 of 1

compile failure in NXCDefs.h

Posted: 12 Feb 2012, 17:40
by carpe68
Hello!

When I try to compile any program, I get an error message: compile failure.
The error codes are:
line 19272, file "NXCDefs.h": Error: number expected
line 19273, file "NXCDefs.h": Error: number expected

I use Bricxcc Version 3.3.8.9 under a german installation. The compiler setting is NXC, the NXCDefs.h is version 92, NXTDefs.h is version 75.

When I check NXCDefs.h under preferences/API, there is no line 19272, it ends with line 15859.

Any ideas?

Thanks a lot.

Re: compile failure in NXCDefs.h

Posted: 12 Feb 2012, 17:57
by HaWe
hi,
you should first of all upgrade to the latest Bricxcc version (3.3.8.9. + test-release => 3.3.8.10)
nxcdefs.h is currently not needed to be included any more.

Re: compile failure in NXCDefs.h

Posted: 12 Feb 2012, 20:20
by afanofosc
Could you post a screenshot of your Compiler|NBC/NXC tab in the Preferences dialog and a simple program (as small as possible) that demonstrates the error you are getting? I assume that even a trivial program (i.e., task main() {}) will result in this error?

As Doc recommended I would also try the very latest test release to see if this problem has been fixed in a more recent build. See http://bricxcc.sourceforge.net/test_releases/

John Hansen