Quantcast

re-enabling -Werror and fixing compile error in tests

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

re-enabling -Werror and fixing compile error in tests

Prabhakar_Pujeri
Signed-off-by: prabhakar pujeri <[hidden email]>
---
 configure.ac          | 3 +--
 tests/epr/Makefile.am | 5 +++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index a0abde0..364a48b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -515,8 +515,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
  CFLAGS="$CFLAGS \
  -Wall -Wstrict-prototypes -Wmissing-declarations \
  -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
-                -Wunused "
-#-Werror"
+                -Wunused -Werror"
 fi
 
 
diff --git a/tests/epr/Makefile.am b/tests/epr/Makefile.am
index 27d2fea..d922af0 100644
--- a/tests/epr/Makefile.am
+++ b/tests/epr/Makefile.am
@@ -1,8 +1,9 @@
 
-AM_CFLAGS = \
+AM_CPPFLAGS = \
    $(XML_CFLAGS) \
    -I$(top_srcdir) \
-   -I$(top_srcdir)/include
+   -I$(top_srcdir)/include \
+   -I$(top_srcdir)/src/cpp
 
 LIBS = \
        $(XML_LIBS) \
--
2.4.3


------------------------------------------------------------------------------
_______________________________________________
Openwsman-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openwsman-devel
Loading...