IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 20, 2018, 9:08:56 PM (8 years ago)
Author:
eugene
Message:

add ps_snprintf_nowarn function to avoid compiler optimization warnings triggered by overly-script gcc checking since 8.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psString.c

    r31152 r40551  
    496496}
    497497
     498// several snprintf statements below my truncate their output
     499// gcc (since 8.1) warns if the output may be truncated.
     500// the following NOOP function is used to fool the compiler
     501// see ps_snprintf_nowarn in psString.h
     502void psNOOP (void) { }
Note: See TracChangeset for help on using the changeset viewer.