Changeset 3499


Ignore:
Timestamp:
04/09/10 11:23:55 (15 years ago)
Author:
Mathieu Morlighem
Message:

Now ISSMERROR can be called without exprintf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/include/macros.h

    r3359 r3499  
    1111/*Error exception macro*/
    1212#ifdef _INTEL_WIN_
    13 #define ISSMERROR(error_string)\
    14   throw ErrorException(error_string)
     13#define ISSMERROR(...)\
     14  throw ErrorException(exprintf(__VA_ARGS__))
    1515#else
    16 #define ISSMERROR(error_string)\
    17   throw ErrorException(__FILE__,__func__,__LINE__,error_string)
     16#define ISSMERROR(...)\
     17  throw ErrorException(__FILE__,__func__,__LINE__,exprintf(__VA_ARGS__))
    1818#endif
    1919
Note: See TracChangeset for help on using the changeset viewer.