Closed DagAgren closed 2 years ago
nmsis_gcc.h forcibly disables some warnings:
https://github.com/Nuclei-Software/nuclei-sdk/blob/master/NMSIS/Core/Include/nmsis_gcc.h#L46
This is very bad form for a system library. I want those warnings in my code, I do not want them silently disabled. If any headers are causing warnings, that code should be fixed, and warnings should not be silenced.
Will evalute on it and change it
Removed these #pragma GCC diagnostic
nmsis_gcc.h forcibly disables some warnings:
https://github.com/Nuclei-Software/nuclei-sdk/blob/master/NMSIS/Core/Include/nmsis_gcc.h#L46
This is very bad form for a system library. I want those warnings in my code, I do not want them silently disabled. If any headers are causing warnings, that code should be fixed, and warnings should not be silenced.