Changeset 465 for trunk/src/sh_inotify.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_inotify.c

    r454 r465  
    2121
    2222#if defined(HAVE_SYS_INOTIFY_H)
     23
     24#if defined(GCC_VERSION_MAJOR)
     25#if (GCC_VERSION_MAJOR > 4) || ((GCC_VERSION_MAJOR == 4) && (GCC_VERSION_MINOR > 8))
     26#pragma GCC diagnostic ignored "-Wclobbered"
     27#endif
     28#endif
    2329
    2430#undef  FIL__
Note: See TracChangeset for help on using the changeset viewer.