Merge
authorAlpar Juttner <alpar@cs.elte.hu>
Tue, 20 Dec 2011 17:36:41 +0100
changeset 96098ddf8d5fda9
parent 959 17e36e175725
parent 940 64260c0f58eb
child 961 71fd280363d5
Merge
     1.1 --- a/CMakeLists.txt	Tue Dec 20 17:35:45 2011 +0100
     1.2 +++ b/CMakeLists.txt	Tue Dec 20 17:36:41 2011 +0100
     1.3 @@ -51,7 +51,7 @@
     1.4    SET(CXX_WARNING $ENV{LEMON_CXX_WARNING})
     1.5  ELSE()
     1.6    IF(CMAKE_COMPILER_IS_GNUCXX)
     1.7 -    SET(CXX_WARNING "-Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas")
     1.8 +    SET(CXX_WARNING "-Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas")
     1.9      SET(CMAKE_CXX_FLAGS_DEBUG CACHE STRING "-ggdb")
    1.10      SET(CMAKE_C_FLAGS_DEBUG CACHE STRING "-ggdb")
    1.11    ELSEIF(MSVC)
     2.1 --- a/lemon/bits/windows.cc	Tue Dec 20 17:35:45 2011 +0100
     2.2 +++ b/lemon/bits/windows.cc	Tue Dec 20 17:36:41 2011 +0100
     2.3 @@ -40,7 +40,9 @@
     2.4  #else
     2.5  #include <unistd.h>
     2.6  #include <ctime>
     2.7 +#ifndef WIN32
     2.8  #include <sys/times.h>
     2.9 +#endif
    2.10  #include <sys/time.h>
    2.11  #endif
    2.12