[Compiler] How to remove warning as error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 1:43 AM
Says in the title, where can i find the flag to remove warnings treated as errors
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 2:12 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 1:59 AM
Hi @pmppires​,
For which compiler?
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 2:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 2:12 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 8:22 AM
i guess that did the trick! thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-04 12:46 AM
No problem! :)
