nagyistoce / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Parsing error in MinGW limits.h #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am using MSYS/MINGW to compile FFMPEG.

The limits.h file that comes with MinGW as the following preprocessor #if
(the comment is from limits.h too...)

/* TODO: Is this safe? I think it might just be testing the preprocessor,
 *       not the compiler itself... */
#if ('\x80' < 0)

JNAerator does like the #if:
D:\test\msys\mingw\include\limits.h:41:2: error: Bad token in expression:
'\x80'
D:\test\msys\mingw\include\limits.h:41:2: error: missing ) in expression
D:\test\msys\mingw\include\limits.h:41:8: warning: Unexpected nonwhite token
D:\test\msys\mingw\include\limits.h:41:8: warning: Unexpected nonwhite token
D:\test\msys\mingw\include\limits.h:41:7: warning: Unexpected nonwhite token

This issue seems minor and is not causing further issues down the line.

Original issue reported on code.google.com by parisjoi...@yahoo.fr on 2 Oct 2009 at 10:35

GoogleCodeExporter commented 9 years ago
Hi, 

Thanks for your report !
Doesn't seem critical, but I'll try to follow the issue to the author of 
Anarres (the 
preprocessor I'm using)

Cheers

Original comment by olivier.chafik@gmail.com on 23 Oct 2009 at 12:26

GoogleCodeExporter commented 9 years ago
Hi,
This issue moved to Github :
https://github.com/ochafik/nativelibs4java/issues/127

Thanks for not updating this page anymore and adding further comments on Github.
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 1 Sep 2011 at 7:24