Re: Small "syntax" issue with xlc compiler and version 1.5.28
John Bowler <[email protected]>
| Newsgroups | gmane.comp.graphics.png.devel |
|---|---|
| Message-ID | <CAP7U39-+7eYpO4eGpF=DXfJO5Q1EAadxSto2R6M9KFEw4Swf-A@mail.gmail.com> |
I remember what the issue is; AIX is declaring pow as a macro. This is permitted (I just checked). The fix (in pngvalid.c) is documented in the C-90 standard: - that->pm->limit += pow( + that->pm->limit += (pow)( I.e. put the function name in parentheses. John Bowler ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi