seltzered / ccons

Automatically exported from code.google.com/p/ccons
MIT License
0 stars 0 forks source link

Issue with declaration initializer from macro #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
>>> #define WORLD_FRACTIONAL_BITS 9
>>> #define WORLD_TO_INTEGER(d) ((d)>>WORLD_FRACTIONAL_BITS)
>>> int x = WORLD_TO_INTEGER(19330);
error: use of undeclared identifier 'WORLD_TO_INTEGER'
 int x = WORLD_TO_INTEGER;
         ^
Note: Last input ignored due to errors.
>>>

Original issue reported on code.google.com by Alexei.Svitkine@gmail.com on 7 Jun 2009 at 6:12

GoogleCodeExporter commented 9 years ago

Original comment by Alexei.Svitkine@gmail.com on 25 Jun 2009 at 4:46