cancel
Showing results for 
Search instead for 
Did you mean: 

Can I ask GFX designer to allow some warnings?

Korry
Associate III

H​i

GFX's designer tell me that all warnings would be treated as errors.

But it's part of the LibJPG library, and I can't change it.

Is there any way to get rid of this "error"?

​I want to open a JPG image in the simulator and display it

Thank you very much, kind stranger.

0693W000001ruB0QAI.png

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

Hi,

Designer uses the makefile located in your application at simulator/gcc/Makefile.

You'll find a list of compiler flags here. Remove "error" to not treat warnings as errors.

WARN = error all extra write-strings init-self cast-qual \
       pointer-arith strict-aliasing format=2 uninitialized \
       missing-declarations no-long-long no-unused-parameter \
       no-variadic-macros no-format-extra-args \
       no-conversion no-overloaded-virtual

View solution in original post

3 REPLIES 3
Martin KJELDSEN
Chief III

Hi,

Designer uses the makefile located in your application at simulator/gcc/Makefile.

You'll find a list of compiler flags here. Remove "error" to not treat warnings as errors.

WARN = error all extra write-strings init-self cast-qual \
       pointer-arith strict-aliasing format=2 uninitialized \
       missing-declarations no-long-long no-unused-parameter \
       no-variadic-macros no-format-extra-args \
       no-conversion no-overloaded-virtual

Thank you very much for your kind help.

/korry

​You're welcome!