Unsuppress compiler error messages in Clang.jl

elkawee
Fri, 02 Jul 2021 12:34:53 +0000
General Usage

Hi
I’m pretty sure i’m the 100th guy who asks this, but i can’t find anything.

I ripped out the relevant parts to be able to call trans_unit.jl/parse_header(..) directly,
and when i do, the usual clang error messages are printed to stderr just like calling the compiler conventionally would.

Example:

/home/elkawee/src_deb/dbus-1.12.20/cmake/…/dbus/dbus-types.h:31:10: fatal error: ‘dbus/dbus-arch-deps.h’ file not found

But when using the generator as instructed on its github page
These messages are somehow suppressed.

Example:

Warning: failed to parse /home/elkawee/src_deb/dbus-1.12.20/dbus/dbus-address.h, skip…

Question:
Where and how does the Generator suppress those, and how do i get at them?

4 posts - 2 participants