Changeset 318 for cpp/frams


Ignore:
Timestamp:
01/30/15 11:25:35 (10 years ago)
Author:
Maciej Komosinski
Message:

Compiles under cygwin; enabled warnings

Location:
cpp/frams
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/Makefile-SDK

    r317 r318  
    99sdk_tests: $(SDK_TESTS)
    1010
     11CXXWARNINGS=-Wall -Wno-parentheses -Wno-overloaded-virtual -Wno-format -Werror=return-type
     12
    1113SDK_BUILD_CONFIG= -include frams/config/sdk_build_config.h
    12 CXXFLAGS= -I$(CURDIR) -std=gnu++11 $(SDK_BUILD_CONFIG) -Wno-parentheses -Wno-overloaded-virtual -Wno-format -g
     14CXXFLAGS= -I$(CURDIR) -std=gnu++11 $(SDK_BUILD_CONFIG) $(CXXWARNINGS) -g
    1315
    1416#############################################
  • cpp/frams/_demos/geometry/geometrytestutils.cpp

    r299 r318  
    101101        test(model);
    102102        GeometryTestUtils::describePart(part, stdout);
     103        return 0;
    103104}
    104105
  • cpp/frams/config/sdk_build_config.h

    r317 r318  
    88#include "version.h"
    99
    10 #if __APPLE__
     10#ifdef __APPLE__
    1111  #define MACOS
    12 #elif __linux
     12#elif defined __linux || defined __CYGWIN__
    1313  #define LINUX
    1414#endif
Note: See TracChangeset for help on using the changeset viewer.