certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi CMakeLists.txt include/certi.hh


From: certi-cvs
Subject: [certi-cvs] certi CMakeLists.txt include/certi.hh
Date: Mon, 28 Apr 2008 17:14:53 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      08/04/28 17:14:53

Modified files:
        .              : CMakeLists.txt 
        include        : certi.hh 

Log message:
        Add -Wall in order to catch more warning which could be errors.
        Fix bug #23092 : include miss

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/CMakeLists.txt?cvsroot=certi&r1=1.42&r2=1.43
http://cvs.savannah.gnu.org/viewcvs/certi/include/certi.hh?cvsroot=certi&r1=3.26&r2=3.27

Patches:
Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/CMakeLists.txt,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- CMakeLists.txt      26 Apr 2008 14:59:39 -0000      1.42
+++ CMakeLists.txt      28 Apr 2008 17:14:52 -0000      1.43
@@ -59,10 +59,10 @@
 # Enforce strict ANSI C/C++ compliance checking
 IF(NOT MINGW)
 IF(CMAKE_COMPILER_IS_GNUCC)
-  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -ansi -W -Wno-unused-function")
+  SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -ansi -Wall 
-Wno-unused-function")
 ENDIF(CMAKE_COMPILER_IS_GNUCC)
 IF(CMAKE_COMPILER_IS_GNUCXX)
-  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -ansi -W 
-Woverloaded-virtual -Wno-unused-function")
+  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -ansi -Wall 
-Woverloaded-virtual -Wno-unused-function")
 ENDIF(CMAKE_COMPILER_IS_GNUCXX)
 ENDIF(NOT MINGW)
 

Index: include/certi.hh
===================================================================
RCS file: /sources/certi/certi/include/certi.hh,v
retrieving revision 3.26
retrieving revision 3.27
diff -u -b -r3.26 -r3.27
--- include/certi.hh    14 Feb 2008 15:49:40 -0000      3.26
+++ include/certi.hh    28 Apr 2008 17:14:53 -0000      3.27
@@ -16,7 +16,7 @@
 // License along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: certi.hh,v 3.26 2008/02/14 15:49:40 jmm Exp $
+// $Id: certi.hh,v 3.27 2008/04/28 17:14:53 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef CERTI_HH_INCLUDED
@@ -60,6 +60,7 @@
         #define __func__ "<unknown>"
         #endif
     #else
+       #include <stdint.h>
        #ifdef __x86_64__
           #define  CERTI_INT64_CONSTANT(val)  (val##L)
           #define  CERTI_INT64_FORMAT         "l"
@@ -69,6 +70,7 @@
        #endif
     #endif
 #else
+    #include <stdint.h>
     #define  STAT_FUNCTION             stat
     #define  STAT_STRUCT               struct stat
     #ifdef __x86_64__
@@ -383,4 +385,4 @@
        (uint64_t) CERTI_INT64_CONSTANT(0xff00000000000000U)) >> 56)))
 #endif // CERTI_HH_INCLUDED
 
-// $Id: certi.hh,v 3.26 2008/02/14 15:49:40 jmm Exp $
+// $Id: certi.hh,v 3.27 2008/04/28 17:14:53 erk Exp $




reply via email to

[Prev in Thread] Current Thread [Next in Thread]