Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 7, 2009, 8:03:27 PM (16 years ago)
Author:
rgrieder
Message:

Removed about a thousand lines of warnings when compiling with GCC 3. It's not such a clean workaround but better than polluted output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/core/CMakeLists.txt

    r2634 r2638  
    6868GENERATE_TOLUA_BINDINGS(Core CORE_FILES INPUTFILES LuaBind.h CommandExecutor.h)
    6969
     70IF(NOT GCC_SYSTEM_HEADER_SUPPORT)
     71  # Get around displaying a few hundred lines of warning code
     72  SET_SOURCE_FILES_PROPERTIES(ArgumentCompletionFunctions.cc PROPERTIES COMPILE_FLAGS "-w")
     73ENDIF()
     74
    7075ADD_LIBRARY(core SHARED ${CORE_FILES})
    7176
Note: See TracChangeset for help on using the changeset viewer.