Hi,

FYI, the only thing that needs to be done is to add -Wno-unused-function
in SConstruct, as per the attached patch.

I'm uploading this fix to the DELAYED/7 queue, because otherwise the
package may be removed from testing (in 13 days now...).

Cheers,

Thomas Goirand (zigo)
Description: Uses -Wno-unused-function to build
 Uses -Wno-unused-function to avoid FTBFS with -Werror=unused-function
 which is now the default in gcc-4.9.
Author: Thomas Goirand <z...@debian.org>
Bug-Debian: http://bugs.debian.org/746887
Forwarded: no
Last-Update: 2014-06-16

--- mongodb-2.4.10.orig/SConstruct
+++ mongodb-2.4.10/SConstruct
@@ -708,6 +708,7 @@ if nix:
                          "-pthread",
                          "-Wall",
                          "-Wsign-compare",
+                         "-Wno-unused-function",
                          "-Wno-unknown-pragmas",
                          "-Winvalid-pch"] )
     # env.Append( " -Wconversion" ) TODO: this doesn't really work yet

Reply via email to