From fc1c6b08d191b3ee9964bf53ea95767bc54377ee Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sat, 1 Jan 2005 11:32:23 +0000 Subject: Converted all C-style casts to C++-style casts + added unit test for utility::md5. --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 2936d816..754ba276 100644 --- a/SConstruct +++ b/SConstruct @@ -305,7 +305,8 @@ libvmimetest_sources = [ [ 'tests/parser/headerTest', [ 'tests/parser/headerTest.cpp' ] ], [ 'tests/parser/mailboxTest', [ 'tests/parser/mailboxTest.cpp' ] ], [ 'tests/parser/mediaTypeTest', [ 'tests/parser/mediaTypeTest.cpp' ] ], - [ 'tests/parser/textTest', [ 'tests/parser/textTest.cpp' ] ] + [ 'tests/parser/textTest', [ 'tests/parser/textTest.cpp' ] ], + [ 'tests/utility/md5Test', [ 'tests/utility/md5Test.cpp' ] ] ] libvmime_autotools = [ @@ -505,6 +506,7 @@ env.Append(CXXFLAGS = ['-Wall']) env.Append(CXXFLAGS = ['-ansi']) env.Append(CXXFLAGS = ['-pedantic']) env.Append(CXXFLAGS = ['-Wpointer-arith']) +env.Append(CXXFLAGS = ['-Wold-style-cast']) env.Append(TARFLAGS = ['-c']) env.Append(TARFLAGS = ['--bzip2']) -- cgit