tytan652
tytan652
#6828 add unused parameter warnings and #6838 add switch warnings.
Changes related to switches were split to #6960.
#6577 added a format warning because of a wrong format specifier
Worked on fixing issues from compiling OBS and aarch64 Linux. A workaround for GCC arrch64 is required and a PR on obs-websocket.
Forgot to clean some switch with cast as a warning workaround. Draft until I remove those.
I think I added all the missing breaks.
> I'm a little concerned in general that this may mask other bugs such as not all enum values being handled. Sometimes it's appropriate that there's no default. Most of...
When warnings will be treated as errors, only enum switches that have a case per constant or a default will pass. If you think some cases need to be treated,...
I'm going to remove every default that I added and in #6759 those switches will be guarded with pragma to not emit errors this will keep new incomplete switches from...
@gxalpha you didn't understood the pragma part, we can use pragma to keep a warning as a warning and not an error. Edit: I already do that in #6759 for...