Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.3.0, Qt Creator 3.5.0, Qt Creator 3.5.1, Qt Creator 3.6.0
-
None
-
Windows 7 Enterprise
Microsoft Visual Studio 9.0 compiler
-
369b1f7f38ab81ba216e03fc724925db8f1b11ed
Description
The C++ parser does not like this code, underlining the lines containing the macro value (and usually the one below) with "expected a declaration", "expected token ';', got 'foo'", "unexpected token '<error>'":
#include <climits>
typedef unsigned long long Foo;
#define FOO ULLONG_MAX
Foo foo = FOO;
if (foo)
{ // ... }Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-15724 qt creator cant read SIZE_MAX
- Closed