Thread overview | |||||
---|---|---|---|---|---|
|
January 26, 2009 bcdgen and gccxml: detecting parse errors? | ||||
---|---|---|---|---|
| ||||
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. |
January 26, 2009 Re: bcdgen and gccxml: detecting parse errors? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lutger | So it was my error, some modifications I made to bcdgen. Sorry for the noise. * why is it that these dumb mistakes always get apparent at once AFTER posting ...* |
January 26, 2009 Re: bcdgen and gccxml: detecting parse errors? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lutger | Hello lutger,
> So it was my error, some modifications I made to bcdgen.
>
> Sorry for the noise.
>
> * why is it that these dumb mistakes always get apparent at once AFTER
> posting ...*
>
Because the newsgroup version of Murphy's Law is fairly consistant? :D
At the very least, knowing this law, we should feel the urge to post as often and rashly as possible so that we are guaranteed to find all our bugs as quickly as possible. ;D
Admittedly, I've fallen prey to this many times. :)
All the best!
-JJR
|
Copyright © 1999-2021 by the D Language Foundation