User forums > Using Code::Blocks

GTK 3 Warnings

(1/1)

ordak:
Hi,

I want to compile a temp project in GTK3 using static library. When I use a global compiler setting I disable all warnings, project compiles in a few seconds. But when I turn some warnings like -Wall I seem to get many warnings from GTK3 code too. How can I get warnings from my temp project only , not any from GTK3 code ?

oBFusCATed:
Read about -isystem (if you're using gcc/clang) and then modify the output of pkg-config to include the correct flags.
I've not tried it, it might not work.
The other option is to use pragmas to disable specific warnings before including gtk headers.

Navigation

[0] Message Index

Go to full version