File: configure-no-pedantic.patch

package info (click to toggle)
pstoedit 3.50-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 4,656 kB
  • ctags: 3,110
  • sloc: cpp: 25,588; sh: 10,050; perl: 4,036; ansic: 955; java: 860; makefile: 450
file content (17 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Remove -pedantic option from g++
 This patch removes the -pedantic option from g++ to prevent uncritical compile
 errors.
Author: J.H.M. Dassen (Ray) <jdassen@debian.org>

--- pstoedit-3.50.orig/configure.ac
+++ pstoedit-3.50/configure.ac
@@ -405,7 +405,7 @@ if test "$GXX" = yes; then
   else
     AC_MSG_RESULT([GNU])
 #   need to disable long long warning here because of ImageMagick using it
-    SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long "
+    SPECIAL_CXXFLAGS="-DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long "
   fi
   CXXFLAGS="-g" 
 elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then