Changeset 465 for trunk/src/sh_nmail.c


Ignore:
Timestamp:
Mar 8, 2015, 6:02:28 PM (10 years ago)
Author:
katerina
Message:

Fix for ticket #364 (gcc 4.9 compiler bugs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_nmail.c

    r363 r465  
    2222#if defined(HAVE_PTHREAD_MUTEX_RECURSIVE)
    2323#define _XOPEN_SOURCE 500
     24#endif
     25
     26#if defined(GCC_VERSION_MAJOR)
     27#if (GCC_VERSION_MAJOR > 4) || ((GCC_VERSION_MAJOR == 4) && (GCC_VERSION_MINOR > 8))
     28#pragma GCC diagnostic ignored "-Wclobbered"
     29#endif
    2430#endif
    2531
Note: See TracChangeset for help on using the changeset viewer.