Ignore:
Timestamp:
06/13/15 21:51:27 (10 years ago)
Author:
epyon
Message:
  • cleanups of clang warnings (gotta love them all)
  • only nv-core for now (this will take a while for the whole source)
  • mainly C++ casts instead of C-style casts, but also a few bugs fixed!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/stl/assert.cc

    r396 r402  
    3131extern "C" {
    3232        extern void __assert(const char *, const char *, unsigned int, const char *)
    33                 throw() __attribute__ ((__noreturn__));
     33                __attribute__ ((__noreturn__));
    3434}
    3535#       else
    3636extern "C" {
    3737        extern void __assert_fail(const char *, const char *, unsigned int, const char *)
    38                 throw() __attribute__ ((__noreturn__));
     38                __attribute__ ((__noreturn__));
    3939}
    4040#       endif
    41 void nv_internal_assert( const char * assertion, const char * file, unsigned int line, const char * function )
     41__attribute__( ( __noreturn__ ) ) void nv_internal_assert( const char * assertion, const char * file, unsigned int line, const char * function )
    4242{
    4343#       if NV_COMPILER == NV_CLANG
Note: See TracChangeset for help on using the changeset viewer.