]> git.ipfire.org Git - thirdparty/squid.git/commit
C++11: Upgrade auto-detection to use the formal -std=c++11
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 6 Apr 2014 04:41:08 +0000 (22:41 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 6 Apr 2014 04:41:08 +0000 (22:41 -0600)
commit954eb9625811aae7006c7fbeaf0b77408abb9415
treeeede728e181c121958eb314ef3941057dbcc49d4
parent3c3c754c033da63c9cf21512e304aeffbc5c685a
C++11: Upgrade auto-detection to use the formal -std=c++11

When the latest compilers added support for -std=c++11 they also dropped
the temporary -std=c++0x option without backward-compatible support. So
for the newest compilers we have not been testing the C++11 code.

As a result of this change Squid will no longer attempt to enable the
partial support in older compilers with -std=c++0x.

Also, update the compiler option test macro from autoconf project.
acinclude/ax_cxx_compile_stdcxx_0x.m4 [deleted file]
acinclude/ax_cxx_compile_stdcxx_11.m4 [new file with mode: 0644]
configure.ac