Ignore:
Timestamp:
Sep 26, 2009, 12:57:46 AM (12 years ago)
Author:
Peter Johansson
Message:

adding missing file Exception.h.diff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/yat/deprecate.h

    r795 r824  
    22#define _theplu_yat_utility_deprecate_
    33
    4 // $Id: deprecate.h 1707 2009-01-12 22:51:35Z peter $
     4// $Id: deprecate.h 2062 2009-09-14 20:19:17Z peter $
    55
    66/*
     
    4141#endif
    4242
     43// With GCC version < 4.3 deprecation of classes yields no
     44// warning. Therefore, we deprecate the constructors of those classes
     45// with this macro YAT_DEPRECATE_GCC_PRE4_3, which is mute for
     46// compiler GCC 4.3 and newer and for others compilers than GCC.
     47#ifndef YAT_DEPRECATE_GCC_PRE4_3
     48#if defined(__GNUC__) && ((__GNUC__<4) || (__GNUC__==4 && __GNUC_MINOR__<3))
     49/// if GCC version before 4.3 define as YAT_DEPRECATE defined above
     50#define YAT_DEPRECATE_GCC_PRE4_3 YAT_DEPRECATE
     51#else
     52/// with GCC 4.3 and newer (or other compilers) define it as empty
     53#define YAT_DEPRECATE_GCC_PRE4_3
    4354#endif
     55#endif
     56
     57#endif
Note: See TracChangeset for help on using the changeset viewer.