Changeset 121 for trunk/nv/common.hh


Ignore:
Timestamp:
06/15/13 17:47:57 (12 years ago)
Author:
epyon
Message:
  • Nova builds with -Weverything/-Wall/-pedantic/etc on: on MSVC 2012 on GCC 4.6.3 on clang 3.2
  • ... without a single fucking warning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/common.hh

    r120 r121  
    128128}
    129129
     130// MSVC and GCC is too stupid to notice fully covered enums, clang
     131// is picky about it
     132#if NV_COMPILER == NV_CLANG
     133#define NV_RETURN_COVERED_DEFAULT( value )
     134#else
     135#define NV_RETURN_COVERED_DEFAULT( value ) default : return value
     136#endif
     137
     138
    130139namespace nv
    131140{
Note: See TracChangeset for help on using the changeset viewer.