IPA's C source code relies on some non-standard features that are not available by default. So far the C code compiles fine because we rely on GCC with GNU extensions.
memset_s
-std=c11
__STDC_WANT_LIB_EXT1__=1
strndup()
string.h
_POSIX_C_SOURCE=200809L
htole16()
endian.h
_DEFAULT_SOURCE
time_t
time.h
typeof()
__typeof__()
All feature macros must be defined before including a header file. Since a lot of C files don't include config.h, it's easier to define the feature macros on the command line than in the project's config header file.
config.h
Thomas discovered the memset_s issue when mass-rebuild of F30 failed, http://koji.fedoraproject.org/koji/buildinfo?buildID=1186722
Metadata Update from @cheimes: - Issue assigned to cheimes
master:
ipa-4-7:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)