COIN-OR::LEMON - Graph Library

Changeset 1053:64260c0f58eb in lemon


Ignore:
Timestamp:
04/07/11 16:57:35 (14 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1054:632a72b27123, 1055:60f4aaedb20f, 1056:6660ac776acf, 1103:98ddf8d5fda9
Phase:
public
Message:

Better Win CodeBlock?/MinGW support (#418)

  • Remove -ansi compilation flag
  • Don't include sys/times.h when WIN32 is defined
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r1033 r1053  
    5252ELSE()
    5353  IF(CMAKE_COMPILER_IS_GNUCXX)
    54     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")
     54    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")
    5555    SET(CMAKE_CXX_FLAGS_DEBUG CACHE STRING "-ggdb")
    5656    SET(CMAKE_C_FLAGS_DEBUG CACHE STRING "-ggdb")
  • lemon/bits/windows.cc

    r513 r1053  
    4141#include <unistd.h>
    4242#include <ctime>
     43#ifndef WIN32
    4344#include <sys/times.h>
     45#endif
    4446#include <sys/time.h>
    4547#endif
Note: See TracChangeset for help on using the changeset viewer.