Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2011, 12:31:28 AM (13 years ago)
Author:
rgrieder
Message:

The COUNTER macro required for full build units was only added in GCC 4.3.
Warn the developer if using GCC < 4.3 and full build units.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/OrxonoxConfig.cmake

    r8633 r8677  
    5050    ELSE()
    5151      SET(NR_OF_BUILD_UNITS ${_nr_of_units})
     52      IF(NOT HAVE_COUNTER_MACRO)
     53        MESSAGE(WARNING "Your compiler doesn't support the __COUNTER__ macro. Full build units might not work!")
     54      ENDIF()
    5255    ENDIF()
    5356  ENDIF()
Note: See TracChangeset for help on using the changeset viewer.