libfirm/cparser

cparser's preprocessor does not emit #pragma tokens

rofl0r opened this issue · 0 comments

my build system RcB2 relies on #pragma directives surviving the preprocessor pass, but cparser -E not only filters them out, it complains about them, as if it was the compiler, not the preprocessor!

../rocksock.h:155:34: warning: encountered unknown #pragma [-Wunknown-pragmas]

btw, GCC emits the warning -Wunknown-pragmas only when a build error happens, even if it is directly specified on the command line.