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.