cancel
Showing results for 
Search instead for 
Did you mean: 

[Compiler] How to remove warning as error

pmppires
Associate II

Says in the title, where can i find the flag to remove warnings treated as errors

1 ACCEPTED SOLUTION

Accepted Solutions

In your config/gcc/app.mk try specifying the following -Wno-error in your user_cflags

# Optional additional compiler flags
 
user_cflags := -DUSE_BPP=16 -Wno-error

View solution in original post

5 REPLIES 5
Martin KJELDSEN
Chief III

Hi @pmppires​,

For which compiler?

/Martin

Hi, i'm using the compiler that comes with touchgfx so im guessing its mingw... i just need to find the flag in the makefile that enables that, but i've skimmed all the makes i could find in the project and couldnt find anything

In your config/gcc/app.mk try specifying the following -Wno-error in your user_cflags

# Optional additional compiler flags
 
user_cflags := -DUSE_BPP=16 -Wno-error

i guess that did the trick! thanks a lot

No problem! :)