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.

How can I compile std namespace usage without using -AA, so that I can maintain binary compatibility with 3rd party libraries?

0
Posted

How can I compile std namespace usage without using -AA, so that I can maintain binary compatibility with 3rd party libraries?

0

You cannot compile std namespace without using the old libraries (even by somehow removing that namespace). If you use #define std or -Dstd=, you can make most of stds go away and the -AP option may work. However, you need to change iostream back to iostream.h.

Related Questions

What is your question?

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

Experts123