]> git.ipfire.org Git - thirdparty/squid.git/commit
Support C++0x features where possible
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Aug 2011 07:31:53 +0000 (19:31 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 2 Aug 2011 07:31:53 +0000 (19:31 +1200)
commita203dec7313a5b60a79d7158dc1c161da5080ec6
tree4bca267672d26716eabce22d28bab890e52aa450
parentde03b59646490546d76c65df0c5ca48a5c5cdaa6
Support C++0x features where possible

This tests for and enables -std=c++0x compiler support on build.

Due to auto_ptr deprecation pieces of the code and a hack to work
around incompatible cppunit code, are converted to use unique_ptr.

When C++0x is available it also tests and uses the nullptr definition
for extra type safety.
acinclude/ax_cxx_0x_types.m4 [new file with mode: 0644]
acinclude/ax_cxx_compile_stdcxx_0x.m4 [new file with mode: 0644]
compat/GnuRegex.c
compat/Makefile.am
compat/compat.h
compat/cppunit.h [new file with mode: 0644]
compat/types.h
configure.ac
include/snmp_impl.h
src/StoreEntryStream.h
src/mgr/Inquirer.cc