Print this page
Fix clang errors
Used Albert's patch to stdio_iso.h
Formatting issues
3781 gcc4.7 __cplusplus change incompatibility

*** 44,55 **** */ #ifndef _ISO_STDIO_ISO_H #define _ISO_STDIO_ISO_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/feature_tests.h> #include <sys/va_list.h> #include <stdio_tag.h> #include <stdio_impl.h> --- 44,53 ----
*** 329,339 **** } #endif /* end of namespace std */ #if !defined(__lint) ! #if !defined(_REENTRANT) && !defined(_LP64) && !defined(_STRICT_STDC) #ifdef __STDC__ #if __cplusplus >= 199711L namespace std { inline int getc(FILE *_p) { --- 327,337 ---- } #endif /* end of namespace std */ #if !defined(__lint) ! #if !defined(_REENTRANT) && !defined(_LP64) #ifdef __STDC__ #if __cplusplus >= 199711L namespace std { inline int getc(FILE *_p) {
*** 351,361 **** #define getc(p) (--(p)->_cnt < 0 ? _filbuf(p) : (int)*(p)->_ptr++) #define putc(x, p) (--(p)->_cnt < 0 ? _flsbuf((x), (p)) : \ (int)(*(p)->_ptr++ = (unsigned char) (x))) #endif /* __STDC__ */ ! #endif /* !defined(_REENTRANT) && !defined(_LP64) && !defined(_STRICT_STDC) */ #ifndef _REENTRANT #if __cplusplus >= 199711L namespace std { --- 349,359 ---- #define getc(p) (--(p)->_cnt < 0 ? _filbuf(p) : (int)*(p)->_ptr++) #define putc(x, p) (--(p)->_cnt < 0 ? _flsbuf((x), (p)) : \ (int)(*(p)->_ptr++ = (unsigned char) (x))) #endif /* __STDC__ */ ! #endif /* !defined(_REENTRANT) && !defined(_LP64) */ #ifndef _REENTRANT #if __cplusplus >= 199711L namespace std {