Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I get some errors with `gcc -ansi. Isn glibc ANSI compatible?

ANSI compatible errors glibc
0
Posted

I get some errors with `gcc -ansi. Isn glibc ANSI compatible?

0

{AJ} The GNU C library is compatible with the ANSI/ISO C standard. If you’re using `gcc -ansi’, the glibc includes which are specified in the standard follow the standard. The ANSI/ISO C standard defines what has to be in the include files – and also states that nothing else should be in the include files (btw. you can still enable additional standards with feature flags). The GNU C library is conforming to ANSI/ISO C – if and only if you’re only using the headers and library functions defined in the standard.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.