mirror of https://github.com/asterisk/asterisk
`__STDC_VERSION__` is specific to C but up until gcc 16, the g++ compiler also defined it. With g++ 16.0 it's no longer defined (which is the correct behavior) so compiling channelstorage_cpp_map_name_id.cc fails. The check for `__STDC_VERSION__` in compat.h is now skipped if we're compiling a C++ source file. Resolves: #1903pull/1911/head
parent
d9b8066ec0
commit
7a57d9f2ed
Loading…
Reference in new issue