Navigation



Ignore:
Timestamp:
Apr 24, 2013, 1:49:00 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a number of remaining compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_diameap/diameap_tls.h

    r1034 r1052  
    4040#define DIAMEAP_TLS_H_
    4141
    42  #if defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 405
     42#if defined(__GNUC__)
    4343# define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x)
    4444# define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x)
    45 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406
     45# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406         /* 4.6.x */
    4646#  define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \
    4747     GCC_DIAG_PRAGMA(ignored x)
    4848#  define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop)
    49 # else
     49# else                                                  /* older */
    5050#  define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored x)
    5151#  define GCC_DIAG_ON(x)  GCC_DIAG_PRAGMA(warning x)
Note: See TracChangeset for help on using the changeset viewer.