Skip to main content
pmppires
Associate II
April 3, 2019
Solved

[Compiler] How to remove warning as error

  • April 3, 2019
  • 1 reply
  • 2307 views

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

This topic has been closed for replies.
Best answer by Martin KJELDSEN

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

1 reply

Martin KJELDSEN
Principal III
April 3, 2019

Hi @pmppires​,

For which compiler?

/Martin

pmppires
pmppiresAuthor
Associate II
April 3, 2019

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