Warnings from unity
Hal Murray
halmurray at sonic.net
Tue Jun 20 19:57:40 UTC 2023
Is anybdy familiar with this area?
Is this something I did? Or are others seeing the same problem?
(I might have turned on some more-warnings flag, but I don't think so.)
../../tests/unity/unity.c:984:5: warning: enumeration value
\u2018UNITY_FLOAT_INVALID_TRAIT\u2019 not handled in switch [-Wswitch-enum]
../../tests/unity/unity.c:1124:5: warning: enumeration value
\u2018UNITY_FLOAT_INVALID_TRAIT\u2019 not handled in switch [-Wswitch-enum]
--------
Speaking of warnings, some versions of OpenSSL and/or some compilers generate
this:
/usr/local/ssl/include/openssl/ssl.h:1491:53: warning: cast discards "const"
qualifier from pointer target type [-Wcast-qual]
I've looked into it a bit and don't understand what's going on. I think our code is OK. This is passing a string literal through a maze of macros. I've decided not to spend much time on this since it doesn't happen with newer OpenSSL and/or compilers.
--
These are my opinions. I hate spam.
More information about the devel
mailing list