• Kenneth Raffenetti's avatar
    increase feature level for pread/pwrite · 33d82829
    Kenneth Raffenetti authored
    
    
    /usr/include/sys/feature_tests.h on Solaris says this about feature
    levels and C99:
    
       It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application
       using c99.  The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b,
       and POSIX.1c applications. Likewise, it is invalid to compile an XPG6
       or a POSIX.1-2001 application with anything other than a c99 or later
       compiler.  Therefore, we force an error in both cases.
    
    ROMIO builds would fail with --enable-strict because _XOPEN_SOURCE=500
    was defined to expose pread/pwrite. Increasing the feature level to 600
    makes usage strictly compatible with C99.
    
    Signed-off-by: Rob Latham's avatarRob Latham <robl@mcs.anl.gov>
    33d82829