bcdgen and gccxml: detecting parse errors?

Lutger lutger.blijdestijn at gmail.com
Mon Jan 26 13:45:00 PST 2009


When bcdgen parses a header file with errors, it still completes the 
translation. Is there a way I can get bcdgen to error out? I think it's a 
gccxml thing, for even while detecting errors it returns 0.

The problem is that some projects seem to have header files which are only 
useful if included at some specific point in another header file (like X11). 
I'd like to script making bindings, for which it would be useful to skip 
erratic header files. 




More information about the Digitalmars-d-learn mailing list