Re: configure adds -std=gnu++11 to CXX variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-05-27 12:18, Jakub Jelinek wrote:
Maybe respect the carefully chosen compiler default (unless explicitly
overridden in configure.ac)?

Autoconf gave up on that idea long ago, as we had bad experiences with compiler defaults being chosen for the convenience of distro maintainers rather than for application developers and builders. Compilers were still defaulting to K&R long after that made little sense. It was a bit like what we're still experiencing with _FILE_OFFSET_BITS defaulting to 32 on x86 GNU/Linux.

Using the compiler default puts you at the mercy of the distro. It's not always wrong to do that - which is why developers and builders should have an option - but it's not always right either.





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux