Skip to main content
Korry
Associate III
July 1, 2020
Solved

Can I ask GFX designer to allow some warnings?

  • July 1, 2020
  • 3 replies
  • 1741 views

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

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

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

3 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
July 2, 2020

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

Korry
KorryAuthor
Associate III
July 7, 2020

Thank you very much for your kind help.

/korry

Martin KJELDSEN
Principal III
July 7, 2020

​You're welcome!