cancel
Showing results for 
Search instead for 
Did you mean: 

Add Compiler Options; Find reason for yellow warning exclamation mark

chriskuku
Senior II

Split from  https://community.st.com/t5/stm32cubeide-mcus/warning-in-build-stm32cubeide-1-18-0-load-segment-with-rwx/td-p/788554 


Since I have a yellow exclamation mark sticking at the project icon I would like to see if it disappears when I add the CFLAG:

--no-warn-rwx-segments

in the makefile. The Debug/makefile contains a bunch of flags but misses the CFLAG which I assume to be burried in one of the includes (makefile.init, makefile.defs). Only, I cannot finde these included files. Can anyone help?

And how can I find out about the reason for the yellow exclamation mark? I was used to find this propagating downstream in the tree view attached to other files. But I don't see any "smudged" file.

10 REPLIES 10

I can't get it right to make the linker warning disappear. Tried linker option passing to gcc:

-Wl,--no-warn-rwx-segments  under Miscaleneous under gcc to no avail.