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.

Why does the compiler generate warnings from system header files?

0
10 Posted

Why does the compiler generate warnings from system header files?

0
10

You can suppress the warnings by using the -SD switch in Version 6.1 or higher. In earlier versions, protect the headers. See the protect_headers_setup(8) reference page and the -protect_headers switch in the cxx(1) reference page.

Related Questions

What is your question?

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