simplify configure script / config headers for modern C/C++
General
Other Data
General
Other Data
Description
Our configure script still checks whether we have header files and types available that are standard in the more modern versions of C and C++ that we are requiring now, such as whether inttypes.h exists or the int64_t type.
We have similar ifdefs in our various config headers.
We should require those header files and types and stop checking for them.
Activity
Show:
Fredrik Roubert
September 13, 2024 at 6:57 PM
All configuration that was obviously obsolete has now been deleted.
There is remaining configuration regarding wchar and UTF-16 string literals that most likely can be simplified considerably, but it's unlikely to be possible to remove entirely without losing compatibility (so that falls outside the scope of this ticket).
Markus Scherer
May 16, 2024 at 3:20 PM
could you please check how much of this is still there, and take this ticket?
We got an outside contribution to remove some of these checks and definitions, but I don’t know if there is more.
Our configure script still checks whether we have header files and types available that are standard in the more modern versions of C and C++ that we are requiring now, such as whether inttypes.h exists or the int64_t type.
We have similar ifdefs in our various config headers.
We should require those header files and types and stop checking for them.