[NXC]Compiler version constants?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

[NXC]Compiler version constants?

Post by timpattinson »

Is there a constant to show the current compiler version ?
eg.

Code: Select all

#define COMPILER_VERSION 1.2.1
#define COMPILER_REVISION 4
Thanks,
-Tim

EDIT: this is the 306th topic in Software
(missed it by that much)
EDIT EDIT
306th inclunding pinned topics
302nd normal topic
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: [NXC]Compiler version constants?

Post by afanofosc »

Currently I do not have these kind of preprocessor macros defined. __ENHANCED_FIRMWARE and __FIRMWARE_VERSION are both available but that is all right now.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests