issues
search
crashappsec
/
libcon4m
Base Compiler and Runtime Support for con4m
Apache License 2.0
0
stars
0
forks
source link
A handful of fixes for compiler warnings
#23
Closed
orangematt
closed
3 months ago
orangematt
commented
3 months ago
c23 adds
unreachable
to
stddef.h
(
https://en.cppreference.com/w/c/program/unreachable
) Looks like gcc got around to adding this, at least as of 13.2.1. I'm not sure what gcc version I was using before, but a recent
dnf update
must've upgraded it.
missing break in switch case somehow slipped thru
missing return fixed with
c4m_unreachable()
unused copy/pasted code from dict to set removed
unreachable
tostddef.h
(https://en.cppreference.com/w/c/program/unreachable) Looks like gcc got around to adding this, at least as of 13.2.1. I'm not sure what gcc version I was using before, but a recentdnf update
must've upgraded it.c4m_unreachable()