News for hackers. Stuff that matters.
Re:C23 Implications for C Libraries by account42 on Monday November 21, 2022 @08:44AM (#33692376)
All compiler flags are non-standard because the C standard does not concern itself with them at all.

That said, there are effectively two standard compiler interfaces: MSVC and GCC and everyone else emulates one or both of these.

Similarily, symbol visibility is not something that the C standard cares about because it doesn't even care about libraries in the first place. Again, for all platforms that have symbol visibility (e.g. PE and ELF based ones, although the details differ) there is a defacto standard for the compiler flags and attributes to control the visilibity: the MSVC and GCC extensions.

Re:C23 Implications for C Libraries by zxwrt on Monday November 21, 2022 @09:12AM (#33692649)
Actually, the only compiler interface that can claim to call itself a standard is POSIX c99. Everything else is too volatile to be a standard.