From c9730d781c33e5cbece892f78008e379cfabe2e2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 03:07:27 -0500 Subject: Fixed compiler warnings when building with Clang --- acprep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'acprep') diff --git a/acprep b/acprep index 381ee032..e4fbf60b 100755 --- a/acprep +++ b/acprep @@ -1131,7 +1131,8 @@ class PrepareBuild(CommandLineApp): self.configure_args.append('--enable-pch') self.LDFLAGS.append('-fpch-deps') - self.CXXFLAGS.append('-Wconversion') + if not self.options.use_clang: + self.CXXFLAGS.append('-Wconversion') #self.CXXFLAGS.append('-Wold-style-cast') system = self.get_stdout('uname', '-s') -- cgit v1.2.3