Editor flags literal long long numbers as invalid (again)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
The problem I reported in bug 780633--code editor flags
long long constants as invalid, which was purportedly
fixed--has reappeared in recent Dev-C++ builds.
For example, typing 'long long n = 0x12345678LL' causes
the editor to highlight '0x12345678L' using the
'illegal char' colors.
Logged In: YES
user_id=609236
shoudn't it be lower case ll?
http://crasseux.com/books/ctutorial/Formatted-output-conversion-specifiers.html
Logged In: YES
user_id=609236
I submitted the error to them:
http://sourceforge.net/tracker/index.php?func=detail&aid=1075691&group_id=3221&atid=103221
Colin fixed it some time ago by commenting out some lines:
http://cvs.sourceforge.net/viewcvs.py/dev-cpp/V5/source/Vcl/synedit/Source/SynHighlighterCpp.pas?r1=1.3&r2=1.4
I'd rather wait for them to fix so we won't have a different
version of synedit again
Logged In: YES
user_id=569921
Yes, for the printf() family it should be 'll' (lowercase).
As far as the type-specifier letters at the end of a
numeric constant, they can be either case, AFAIK.
Logged In: YES
user_id=609236
this one was fixed:
http://www.castlesofpoland.com/dev-cpp/devcpp.exe