Preventing g-ir-scanner from scanning complex.h



Hello,

is it possible to prevent g-ir-scanner from including (and thus
scanning) some headers that are #included from my headers?

I have some public headers that include C99 <complex.h> which leads to
awful errors when they are scanned, reported as

    https://bugzilla.gnome.org/show_bug.cgi?id=639749

(and apparently g-ir-scanner can have troubles to get in sync again
after that so more weird errors can follow).

Since the intereset in making complex types work is probably quite low
I'd like to at least stop g-ir-scanner from scanning complex.h.  Is it
possible?

Yeti



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]