Re: [PATCH, FIXINCLUDES] AIX stdio C++ inline fix

2015-08-13 Thread Bruce Korb
Looks good to me... On Thu, Aug 13, 2015 at 10:33 AM, David Edelsohn wrote: > AIX stdio.h header includes code specific for C++ that looks like: > > extern "C" { > #ifdef __cplusplus > #ifdef ferror > #undef ferror > inline int ferror(FILE * _p) > { > return ((_p)->_flag & _IOERR); > } >

[PATCH, FIXINCLUDES] AIX stdio C++ inline fix

2015-08-13 Thread David Edelsohn
AIX stdio.h header includes code specific for C++ that looks like: extern "C" { #ifdef __cplusplus #ifdef ferror #undef ferror inline int ferror(FILE * _p) { return ((_p)->_flag & _IOERR); } #endif /*ferror*/ which generates code that makes the AIX linker and loader rather upset because t