[cfe-dev] Question about use of bool in asan_interface.h

Yury Gribov y.gribov at samsung.com
Thu Apr 10 23:14:59 PDT 2014


> Yea... I think we should simply change bool to int in the headers.
> Let me see if this is going to break something...

What about autotesting public headers for compatibility with C99 in 
`make check-asan'?

$ gcc -c -std=c99 sanitizer/asan_interface.h -I.
sanitizer/asan_interface.h:53:3: error: unknown type name ‘bool’
sanitizer/asan_interface.h:66:40: error: unknown type name ‘bool’
sanitizer/asan_interface.h:88:3: error: unknown type name ‘bool’
sanitizer/asan_interface.h:98:3: error: unknown type name ‘bool’

-Y



More information about the cfe-dev mailing list