Pass no-deprecated-declarations to g++
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 May 2015 12:08:52 +0000 (14:08 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 May 2015 12:08:52 +0000 (14:08 +0200)
so we can avoid warnings about using a deprecated function in zoom
header.

unix/pom.xml

index a98e050..49644a8 100644 (file)
@@ -79,7 +79,7 @@
           <compilerProvider>generic</compilerProvider>
           <compilerExecutable>g++</compilerExecutable>
           <compilerStartOptions>
-            <compilerStartOption>-fPIC</compilerStartOption>
+            <compilerStartOption>-fPIC -Wno-deprecated-declarations</compilerStartOption>
           </compilerStartOptions>
           <compilerEndOptions>
             <compilerEndOption>${yaz.cflags}</compilerEndOption>