#1286 C file including stdbool fail parsing

open
parsing (147)
5
2012-12-21
2012-11-29
maxime-esa
No

If a C file contains this statement:
#include <stdbool.h>

(which is present in the standard C/C++ directories)

It is not found by SWIG:

swig -includeall -outdir . -python ./DV.i
asn1crt.h:5: Error: Unable to find 'stdbool.h'

The workaround I found was to use the -ignoremissing flag, but there might be an issue in the parser with the include directories.

Discussion


Log in to post a comment.