stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan owen" <rya...@gmail.com>
Subject Re: strstream infinite loop
Date Sun, 19 Mar 2006 03:20:01 GMT
On 3/18/06, Martin Sebor <sebor@roguewave.com> wrote:
> ryan owen wrote:
> > I'm new to stdcxx and the mailing list, but I'm hoping someone can
> > help with the problem I'm having.  My environment is HP-UX 11.00,
> > patched such that libc contains wide character support (although its
> > missing a few functions). I'm using stdcxx 4.1.3 built with GCC 3.2.1.
> >  The config.h used to build it is attached
>
> It looks like either forgot to attach it or it got stripped by ezmlm.
Aparently ezmlm stripped it.  I' paste it at the end of this message.
>
> >
> > The problem is that whenever a strstream is used, the program goes
> > into an infinite loop.  I'm not sure exactly what condition causes the
> > problem.  In my code, it happens if I direct an endl into the
> > strstream object (strstreamobject << endl) or when the object goes out
> > of scope.
>
> This sounds similar to the problem described here:
>    http://issues.apache.org/jira/browse/STDCXX-140
>
> > If I run the strstream example include in the stdcxx source
> > tarball, it gets as far as outputting "Full text, 104 characters: "
> > followed by "This is the story of a man." in various languages.  The
> > example is supposed to then loop through the stream one line at a
> > time, but it hangs instead.
> >
> > I've looked at the preprocessor output to make sure that the strstream
> > symbol is being resolved to the one defined in stdcxx at compile time,
> > and not from some gcc header.
>
> Good thinking! :)
>
> >
> > The verbose linker output shows that it is also resolving to stdcxx at
> > link time.
>
> Yes, linking with gcc (as opposed to g++) prevents linking with
> libstdc++, the GNU C++ Standard Library.
>
> >
> > Various symbols that stdcxx references, such as the new and delete
> > operators, are being resolved to GNU's libsupc++.  I'm not sure if
> > there are any incompatibilities between stdcxx and GNU's libsupc++
> > that may be causing the problem.
>
> No, that's by design. The language runtime library is libsupc++,
> the whole C++ Standard Library is libstdc++ when linking with
> g++.
>
> >
> > Does anyone have any suggestions on how to troubleshoot this?  Any
> > help is greatly apreciated.
>
> It would be good to know the build type you did (i.e., what value
> you set the BUILDTYPE make variable when you configured the library),
> and how your gcc is configured (gcc -v).

gcc -v
Reading specs from /usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/usr/local/3.2.1
--enable-languages=c,c++ --enable-largefiles --with-gnu-as
--with-as=/usr/local/3.2.1/bin/as hppa1.1-hp-hpux11.00
Thread model: single
gcc version 3.2.1

I didn't specify a BUILDTYPE, so I guess that means 11s
>
> I tested with gcc 3.4.2 on HP-UX 11.11 (td192.testdrive.hp.com)
> and after fixing a couple of minor issues (STDCXX-164, STDCXX-165,
> and STDCXX-166:
> http://issues.apache.org/jira/browse/STDCXX-164
> http://issues.apache.org/jira/browse/STDCXX-165
> http://issues.apache.org/jira/browse/STDCXX-166) the strstream
> example built and ran fine in both an 8d and 12d build type
> (i.e, optimized, shared library, single-thread and thread-safe,
> respectively). Attached is my config.h in case you find it useful.
>
> I will need to build gcc 3.2.1 on one of our servers to see if I
> can reproduce it and figure out what's going on. While I'm doing
> it you might want to give a later version of gcc a try to see if
> it maybe resolves the problem.
>
> Martin
>

Thanks for the reply, Martin.  I'll try building with your config.h
and BUILDTYPE 8d to see if I have any luck.  I don't have access to
the HPUX machine at the moment, so I'll let you know how it goes on
Monday.  Here is my config.h in the meantime:

// configured for gcc-3.2.1 on HP-UX B.11.00
#define _RWSTD_NO_CASSERT
#define _RWSTD_ANSI_C_ASSERT_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/assert.h"
#define _RWSTD_NO_CCTYPE
#define _RWSTD_ANSI_C_CTYPE_H "/usr/include/ctype.h"
#define _RWSTD_NO_CERRNO
#define _RWSTD_ANSI_C_ERRNO_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/errno.h"
#define _RWSTD_NO_CFLOAT
#define _RWSTD_ANSI_C_FLOAT_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/float.h"
#define _RWSTD_NO_CISO646
#define _RWSTD_ANSI_C_ISO646_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/iso646.h"
#define _RWSTD_NO_CLIMITS
#define _RWSTD_ANSI_C_LIMITS_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/limits.h"
#define _RWSTD_NO_CLOCALE
#define _RWSTD_ANSI_C_LOCALE_H "/usr/include/locale.h"
#define _RWSTD_NO_CMATH
#define _RWSTD_ANSI_C_MATH_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/math.h"
#define _RWSTD_NO_CSETJMP
#define _RWSTD_ANSI_C_SETJMP_H "/usr/include/setjmp.h"
#define _RWSTD_NO_CSIGNAL
#define _RWSTD_ANSI_C_SIGNAL_H "/usr/include/signal.h"
#define _RWSTD_NO_CSTDARG
#define _RWSTD_ANSI_C_STDARG_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/stdarg.h"
#define _RWSTD_NO_CSTDDEF
#define _RWSTD_ANSI_C_STDDEF_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/stddef.h"
#define _RWSTD_NO_CSTDIO
#define _RWSTD_ANSI_C_STDIO_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/stdio.h"
#define _RWSTD_NO_CSTDLIB
#define _RWSTD_ANSI_C_STDLIB_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/stdlib.h"
#define _RWSTD_NO_CSTRING
#define _RWSTD_ANSI_C_STRING_H
"/usr/local/3.2.1/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2.1/include/string.h"
#define _RWSTD_NO_CTIME
#define _RWSTD_ANSI_C_TIME_H "/usr/include/time.h"
#define _RWSTD_NO_CWCHAR
#define _RWSTD_ANSI_C_WCHAR_H "/usr/include/wchar.h"
#define _RWSTD_NO_CWCTYPE
#define _RWSTD_NO_WCTYPE_H
#define _RWSTD_NO_NEW
#define _RWSTD_NO_NEW_H
#define _RWSTD_NO_TYPEINFO
#define _RWSTD_NO_TYPEINFO_H
#define _RWSTD_NO_IEEEFP_H
// #define _RWSTD_NO_PTHREAD_H   /* "/usr/include/pthread.h" */
// #define _RWSTD_NO_NAMESPACE
// #define _RWSTD_NO_ACOS
// #define _RWSTD_NO_ASIN
// #define _RWSTD_NO_ATAN
// #define _RWSTD_NO_ATAN2
// #define _RWSTD_NO_CEIL
// #define _RWSTD_NO_COS
// #define _RWSTD_NO_COSH
// #define _RWSTD_NO_EXP
// #define _RWSTD_NO_FABS
// #define _RWSTD_NO_FLOOR
// #define _RWSTD_NO_FMOD
// #define _RWSTD_NO_FREXP
// #define _RWSTD_NO_LDEXP
// #define _RWSTD_NO_LOG
// #define _RWSTD_NO_LOG10
// #define _RWSTD_NO_MODF
// #define _RWSTD_NO_POW
// #define _RWSTD_NO_SIN
// #define _RWSTD_NO_SINH
// #define _RWSTD_NO_SQRT
// #define _RWSTD_NO_TAN
// #define _RWSTD_NO_TANH
// #define _RWSTD_NO_ACOSF
// #define _RWSTD_NO_ASINF
// #define _RWSTD_NO_ATANF
// #define _RWSTD_NO_ATAN2F
#define _RWSTD_NO_CEILF
#define _RWSTD_NO_CEILF_IN_LIBM
// #define _RWSTD_NO_COSF
// #define _RWSTD_NO_COSHF
// #define _RWSTD_NO_EXPF
// #define _RWSTD_NO_FABSF
#define _RWSTD_NO_FLOORF
#define _RWSTD_NO_FLOORF_IN_LIBM
// #define _RWSTD_NO_FMODF
#define _RWSTD_NO_FREXPF
#define _RWSTD_NO_FREXPF_IN_LIBM
#define _RWSTD_NO_LDEXPF
#define _RWSTD_NO_LDEXPF_IN_LIBM
// #define _RWSTD_NO_LOGF
// #define _RWSTD_NO_LOG10F
#define _RWSTD_NO_MODFF
#define _RWSTD_NO_MODFF_IN_LIBM
// #define _RWSTD_NO_POWF
// #define _RWSTD_NO_SINF
// #define _RWSTD_NO_SINHF
// #define _RWSTD_NO_SQRTF
// #define _RWSTD_NO_TANF
// #define _RWSTD_NO_TANHF
#define _RWSTD_NO_ACOSL
#define _RWSTD_NO_ACOSL_IN_LIBM
#define _RWSTD_NO_ASINL
#define _RWSTD_NO_ASINL_IN_LIBM
#define _RWSTD_NO_ATANL
#define _RWSTD_NO_ATANL_IN_LIBM
#define _RWSTD_NO_ATAN2L
#define _RWSTD_NO_ATAN2L_IN_LIBM
#define _RWSTD_NO_CEILL
#define _RWSTD_NO_CEILL_IN_LIBM
#define _RWSTD_NO_COSL
#define _RWSTD_NO_COSL_IN_LIBM
#define _RWSTD_NO_COSHL
#define _RWSTD_NO_COSHL_IN_LIBM
#define _RWSTD_NO_EXPL
#define _RWSTD_NO_EXPL_IN_LIBM
#define _RWSTD_NO_FABSL
#define _RWSTD_NO_FABSL_IN_LIBM
#define _RWSTD_NO_FLOORL
#define _RWSTD_NO_FLOORL_IN_LIBM
#define _RWSTD_NO_FMODL
#define _RWSTD_NO_FMODL_IN_LIBM
#define _RWSTD_NO_FREXPL
#define _RWSTD_NO_FREXPL_IN_LIBM
#define _RWSTD_NO_LDEXPL
#define _RWSTD_NO_LDEXPL_IN_LIBM
#define _RWSTD_NO_LOGL
#define _RWSTD_NO_LOGL_IN_LIBM
#define _RWSTD_NO_LOG10L
#define _RWSTD_NO_LOG10L_IN_LIBM
#define _RWSTD_NO_MODFL
#define _RWSTD_NO_MODFL_IN_LIBM
#define _RWSTD_NO_POWL
#define _RWSTD_NO_POWL_IN_LIBM
#define _RWSTD_NO_SINL
#define _RWSTD_NO_SINL_IN_LIBM
#define _RWSTD_NO_SINHL
#define _RWSTD_NO_SINHL_IN_LIBM
#define _RWSTD_NO_SQRTL
#define _RWSTD_NO_SQRTL_IN_LIBM
#define _RWSTD_NO_TANL
#define _RWSTD_NO_TANL_IN_LIBM
#define _RWSTD_NO_TANHL
#define _RWSTD_NO_TANHL_IN_LIBM
// #define _RWSTD_NO_CLEARERR
// #define _RWSTD_NO_FCLOSE
// #define _RWSTD_NO_FEOF
// #define _RWSTD_NO_FERROR
// #define _RWSTD_NO_FFLUSH
// #define _RWSTD_NO_FGETC
// #define _RWSTD_NO_FGETPOS
// #define _RWSTD_NO_FGETS
// #define _RWSTD_NO_FOPEN
// #define _RWSTD_NO_FPRINTF
// #define _RWSTD_NO_FPUTC
// #define _RWSTD_NO_FPUTS
// #define _RWSTD_NO_FREAD
// #define _RWSTD_NO_FREOPEN
// #define _RWSTD_NO_FSCANF
// #define _RWSTD_NO_FSEEK
// #define _RWSTD_NO_FSETPOS
// #define _RWSTD_NO_FTELL
// #define _RWSTD_NO_FWRITE
// #define _RWSTD_NO_GETC
// #define _RWSTD_NO_GETCHAR
// #define _RWSTD_NO_GETS
// #define _RWSTD_NO_PERROR
// #define _RWSTD_NO_PRINTF
// #define _RWSTD_NO_PUTC
// #define _RWSTD_NO_PUTCHAR
// #define _RWSTD_NO_PUTS
// #define _RWSTD_NO_REMOVE
// #define _RWSTD_NO_RENAME
// #define _RWSTD_NO_REWIND
// #define _RWSTD_NO_SCANF
// #define _RWSTD_NO_SETBUF
// #define _RWSTD_NO_SETVBUF
// #define _RWSTD_NO_SPRINTF
// #define _RWSTD_NO_SSCANF
// #define _RWSTD_NO_TMPFILE
// #define _RWSTD_NO_TMPNAM
// #define _RWSTD_NO_UNGETC
// #define _RWSTD_NO_VFPRINTF
// #define _RWSTD_NO_VPRINTF
// #define _RWSTD_NO_VSPRINTF
// #define _RWSTD_NO_SNPRINTF
// #define _RWSTD_NO_VSNPRINTF
// #define _RWSTD_NO_FILENO
// #define _RWSTD_NO_ABORT
// #define _RWSTD_NO_ABS
// #define _RWSTD_NO_ATEXIT
// #define _RWSTD_NO_ATOF
// #define _RWSTD_NO_ATOI
// #define _RWSTD_NO_ATOL
#define _RWSTD_NO_ATOLL
#define _RWSTD_NO_ATOLL_IN_LIBC
// #define _RWSTD_NO_BSEARCH
// #define _RWSTD_NO_CALLOC
// #define _RWSTD_NO_DIV
// #define _RWSTD_NO_EXIT
// #define _RWSTD_NO_FREE
// #define _RWSTD_NO_GETENV
// #define _RWSTD_NO_LABS
// #define _RWSTD_NO_LDIV
#define _RWSTD_NO_LLABS
#define _RWSTD_NO_LLABS_IN_LIBC
#define _RWSTD_NO_LLDIV
#define _RWSTD_NO_LLDIV_IN_LIBC
// #define _RWSTD_NO_MALLOC
// #define _RWSTD_NO_MBLEN
// #define _RWSTD_NO_MBSTOWCS
// #define _RWSTD_NO_MBTOWC
// #define _RWSTD_NO_QSORT
// #define _RWSTD_NO_RAND
// #define _RWSTD_NO_REALLOC
// #define _RWSTD_NO_SRAND
// #define _RWSTD_NO_STRTOD
// #define _RWSTD_NO_STRTOL
// #define _RWSTD_NO_STRTOUL
// #define _RWSTD_NO_SYSTEM
// #define _RWSTD_NO_WCSTOMBS
// #define _RWSTD_NO_WCTOMB
#define _RWSTD_NO_STRTOF
#define _RWSTD_NO_STRTOF_IN_LIBC
// #define _RWSTD_NO_STRTOLD
#define _RWSTD_NO_STRTOLL
#define _RWSTD_NO_STRTOLL_IN_LIBC
#define _RWSTD_NO_STRTOULL
#define _RWSTD_NO_STRTOULL_IN_LIBC
// #define _RWSTD_NO_MKSTEMP
// #define _RWSTD_NO_MEMCHR
// #define _RWSTD_NO_MEMCMP
// #define _RWSTD_NO_MEMCPY
// #define _RWSTD_NO_MEMMOVE
// #define _RWSTD_NO_MEMSET
// #define _RWSTD_NO_STRCAT
// #define _RWSTD_NO_STRCHR
// #define _RWSTD_NO_STRCMP
// #define _RWSTD_NO_STRCOLL
// #define _RWSTD_NO_STRCPY
// #define _RWSTD_NO_STRCSPN
// #define _RWSTD_NO_STRERROR
// #define _RWSTD_NO_STRLEN
// #define _RWSTD_NO_STRNCAT
// #define _RWSTD_NO_STRNCMP
// #define _RWSTD_NO_STRNCPY
// #define _RWSTD_NO_STRPBRK
// #define _RWSTD_NO_STRRCHR
// #define _RWSTD_NO_STRSPN
// #define _RWSTD_NO_STRSTR
// #define _RWSTD_NO_STRTOK
// #define _RWSTD_NO_STRXFRM
#define _RWSTD_NO_BTOWC
#define _RWSTD_NO_BTOWC_IN_LIBC
// #define _RWSTD_NO_FGETWC
// #define _RWSTD_NO_FGETWS
// #define _RWSTD_NO_FPUTWC
// #define _RWSTD_NO_FPUTWS
#define _RWSTD_NO_FWIDE
#define _RWSTD_NO_FWIDE_IN_LIBC
#define _RWSTD_NO_FWPRINTF
#define _RWSTD_NO_FWPRINTF_IN_LIBC
#define _RWSTD_NO_FWSCANF
#define _RWSTD_NO_FWSCANF_IN_LIBC
// #define _RWSTD_NO_GETWC
// #define _RWSTD_NO_GETWCHAR
#define _RWSTD_NO_MBRLEN
#define _RWSTD_NO_MBRLEN_IN_LIBC
#define _RWSTD_NO_MBRTOWC
#define _RWSTD_NO_MBRTOWC_IN_LIBC
#define _RWSTD_NO_MBSINIT
#define _RWSTD_NO_MBSINIT_IN_LIBC
#define _RWSTD_NO_MBSRTOWCS
#define _RWSTD_NO_MBSRTOWCS_IN_LIBC
// #define _RWSTD_NO_PUTWC
// #define _RWSTD_NO_PUTWCHAR
#define _RWSTD_NO_SWPRINTF
#define _RWSTD_NO_SWPRINTF_IN_LIBC
#define _RWSTD_NO_SWSCANF
#define _RWSTD_NO_SWSCANF_IN_LIBC
// #define _RWSTD_NO_UNGETWC
#define _RWSTD_NO_VFWPRINTF
#define _RWSTD_NO_VFWPRINTF_IN_LIBC
#define _RWSTD_NO_VSWPRINTF
#define _RWSTD_NO_VSWPRINTF_IN_LIBC
#define _RWSTD_NO_VWPRINTF
#define _RWSTD_NO_VWPRINTF_IN_LIBC
#define _RWSTD_NO_VWSCANF
#define _RWSTD_NO_VWSCANF_IN_LIBC
#define _RWSTD_NO_WCRTOMB
#define _RWSTD_NO_WCRTOMB_IN_LIBC
// #define _RWSTD_NO_WCSCAT
// #define _RWSTD_NO_WCSCHR
// #define _RWSTD_NO_WCSCMP
// #define _RWSTD_NO_WCSCOLL
// #define _RWSTD_NO_WCSCPY
// #define _RWSTD_NO_WCSCSPN
// #define _RWSTD_NO_WCSFTIME
#define _RWSTD_NO_WCSLEN
// #define _RWSTD_NO_WCSNCAT
// #define _RWSTD_NO_WCSNCMP
// #define _RWSTD_NO_WCSNCPY
// #define _RWSTD_NO_WCSPBRK
// #define _RWSTD_NO_WCSRCHR
#define _RWSTD_NO_WCSRTOMBS
#define _RWSTD_NO_WCSRTOMBS_IN_LIBC
// #define _RWSTD_NO_WCSSPN
#define _RWSTD_NO_WCSSTR
#define _RWSTD_NO_WCSSTR_IN_LIBC
// #define _RWSTD_NO_WCSTOD
// #define _RWSTD_NO_WCSTOD
#define _RWSTD_NO_WCSTOF
#define _RWSTD_NO_WCSTOF_IN_LIBC
// #define _RWSTD_NO_WCSTOK
// #define _RWSTD_NO_WCSTOL
#define _RWSTD_NO_WCSTOLD
#define _RWSTD_NO_WCSTOLD_IN_LIBC
#define _RWSTD_NO_WCSTOLL
#define _RWSTD_NO_WCSTOLL_IN_LIBC
// #define _RWSTD_NO_WCSTOMBS
// #define _RWSTD_NO_WCSTOUL
#define _RWSTD_NO_WCSTOULL
#define _RWSTD_NO_WCSTOULL_IN_LIBC
// #define _RWSTD_NO_WCSXFRM
#define _RWSTD_NO_WCTOB
#define _RWSTD_NO_WCTOB_IN_LIBC
// #define _RWSTD_NO_WCTOMB
#define _RWSTD_NO_WMEMCHR
#define _RWSTD_NO_WMEMCHR_IN_LIBC
#define _RWSTD_NO_WMEMCMP
#define _RWSTD_NO_WMEMCMP_IN_LIBC
#define _RWSTD_NO_WMEMCPY
#define _RWSTD_NO_WMEMCPY_IN_LIBC
#define _RWSTD_NO_WMEMMOVE
#define _RWSTD_NO_WMEMMOVE_IN_LIBC
#define _RWSTD_NO_WMEMSET
#define _RWSTD_NO_WMEMSET_IN_LIBC
#define _RWSTD_NO_WPRINTF
#define _RWSTD_NO_WPRINTF_IN_LIBC
#define _RWSTD_NO_WSCANF
#define _RWSTD_NO_WSCANF_IN_LIBC
#define _RWSTD_NO_ISWALPHA
// #define _RWSTD_NO_ISWALPHA_IN_LIBC
#define _RWSTD_NO_ISWALNUM
// #define _RWSTD_NO_ISWALNUM_IN_LIBC
#define _RWSTD_NO_ISWCNTRL
// #define _RWSTD_NO_ISWCNTRL_IN_LIBC
#define _RWSTD_NO_ISWDIGIT
// #define _RWSTD_NO_ISWDIGIT_IN_LIBC
#define _RWSTD_NO_ISWGRAPH
// #define _RWSTD_NO_ISWGRAPH_IN_LIBC
#define _RWSTD_NO_ISWLOWER
// #define _RWSTD_NO_ISWLOWER_IN_LIBC
#define _RWSTD_NO_ISWPRINT
// #define _RWSTD_NO_ISWPRINT_IN_LIBC
#define _RWSTD_NO_ISWPUNCT
// #define _RWSTD_NO_ISWPUNCT_IN_LIBC
#define _RWSTD_NO_ISWSPACE
// #define _RWSTD_NO_ISWSPACE_IN_LIBC
#define _RWSTD_NO_ISWUPPER
// #define _RWSTD_NO_ISWUPPER_IN_LIBC
#define _RWSTD_NO_ISWXDIGIT
// #define _RWSTD_NO_ISWXDIGIT_IN_LIBC
#define _RWSTD_NO_WCTYPE
// #define _RWSTD_NO_WCTYPE_IN_LIBC
#define _RWSTD_NO_ISWCTYPE
// #define _RWSTD_NO_ISWCTYPE_IN_LIBC
#define _RWSTD_NO_TOWLOWER
// #define _RWSTD_NO_TOWLOWER_IN_LIBC
#define _RWSTD_NO_TOWUPPER
// #define _RWSTD_NO_TOWUPPER_IN_LIBC
#define _RWSTD_NO_WCTRANS
#define _RWSTD_NO_WCTRANS_IN_LIBC
#define _RWSTD_NO_TOWCTRANS
#define _RWSTD_NO_TOWCTRANS_IN_LIBC
// #define _RWSTD_NO_LONG_LONG
// #define _RWSTD_NO_ABS_OVERLOADS
#define _RWSTD_NO_ABS_BOOL
#define _RWSTD_NO_ABS_CHAR
#define _RWSTD_NO_ABS_SCHAR
#define _RWSTD_NO_ABS_UCHAR
#define _RWSTD_NO_ABS_SHRT
#define _RWSTD_NO_ABS_USHRT
// #define _RWSTD_NO_ABS_INT
#define _RWSTD_NO_ABS_UINT
#define _RWSTD_NO_ABS_LONG
#define _RWSTD_NO_ABS_ULONG
#define _RWSTD_NO_ABS_LLONG
#define _RWSTD_NO_ABS_ULLONG
// #define _RWSTD_NO_ATOMIC_OPS
// #define _RWSTD_NO_HONOR_STD
// #define _RWSTD_NO_STD_TERMINATE
// #define _RWSTD_NO_SETRLIMIT
// #define _RWSTD_NO_NEW_THROWS
// #define _RWSTD_NO_NEW_OFLOW_SAFE
// #define _RWSTD_NO_STD_BAD_ALLOC
// #define _RWSTD_NO_STD_BAD_CAST
// #define _RWSTD_NO_EXCEPTION_SPECIFICATION
// #define _RWSTD_NO_STD_SET_UNEXPECTED
// #define _RWSTD_NO_STD_BAD_EXCEPTION
#define _RWSTD_NO_STD_BAD_TYPEID
// #define _RWSTD_NO_STD_EXCEPTION
// #define _RWSTD_NO_STD_SET_NEW_HANDLER
// #define _RWSTD_NO_STD_SET_TERMINATE
// #define _RWSTD_NO_EXCEPTIONS
// #define _RWSTD_NO_STD_UNCAUGHT_EXCEPTION
// #define _RWSTD_NO_STD_UNEXPECTED
// #define _RWSTD_NO_GLOBAL_BAD_ALLOC
#define _RWSTD_NO_GLOBAL_BAD_CAST
//#define _RWSTD_NO_GLOBAL_BAD_EXCEPTION
#define _RWSTD_NO_GLOBAL_BAD_TYPEID
#define _RWSTD_NO_GLOBAL_EXCEPTION
#define _RWSTD_NO_GLOBAL_SET_NEW_HANDLER
#define _RWSTD_NO_GLOBAL_SET_TERMINATE
#define _RWSTD_NO_GLOBAL_SET_UNEXPECTED
#define _RWSTD_NO_GLOBAL_TERMINATE
#define _RWSTD_NO_GLOBAL_UNCAUGHT_EXCEPTION
#define _RWSTD_NO_GLOBAL_UNEXPECTED
// #define _RWSTD_NO_RUNTIME_IN_STD
#undef _RWSTD_NO_STD_BAD_TYPEID
// number of runtime library symbols examined: 11
// symbols found only in namespace std:        10
// symbols found only in the global namespace:  0
// symbols found in both namespaces:            0
// symbols found in neither namespace:          1
// #define _RWSTD_NO_RUNTIME_IN_STD
#define _RWSTD_NO_BAD_ALLOC_ASSIGNMENT
#define _RWSTD_NO_BAD_ALLOC_COPY_CTOR
#define _RWSTD_NO_BAD_ALLOC_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_ALLOC_DTOR
//#define _RWSTD_NO_BAD_ALLOC_WHAT
#define _RWSTD_NO_BAD_CAST_ASSIGNMENT
#define _RWSTD_NO_BAD_CAST_COPY_CTOR
#define _RWSTD_NO_BAD_CAST_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_CAST_DTOR
#define _RWSTD_NO_BAD_CAST_WHAT
#define _RWSTD_NO_BAD_EXCEPTION_ASSIGNMENT
#define _RWSTD_NO_BAD_EXCEPTION_COPY_CTOR
#define _RWSTD_NO_BAD_EXCEPTION_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_EXCEPTION_DTOR
//#define _RWSTD_NO_BAD_EXCEPTION_WHAT
#define _RWSTD_NO_BAD_TYPEID_ASSIGNMENT
#define _RWSTD_NO_BAD_TYPEID_COPY_CTOR
#define _RWSTD_NO_BAD_TYPEID_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_TYPEID_DTOR
#define _RWSTD_NO_BAD_TYPEID_WHAT
// #define _RWSTD_NO_BOOL
// #define _RWSTD_NO_CLASS_PARTIAL_SPEC
#define _RWSTD_NO_COLLAPSE_STATIC_LOCALS
#define _RWSTD_NO_COLLAPSE_TEMPLATE_LOCALS
// #define _RWSTD_NO_COLLAPSE_TEMPLATE_STATICS
// #define _RWSTD_NO_CONST_CAST
// #define _RWSTD_NO_CTYPE_BITS
#define _RWSTD_CTYPE_UPPER = 0x00000400   /* libc value */
#define _RWSTD_CTYPE_LOWER = 0x00000040   /* libc value */
#define _RWSTD_CTYPE_DIGIT = 0x00000010   /* libc value */
#define _RWSTD_CTYPE_SPACE = 0x00000200   /* libc value */
#define _RWSTD_CTYPE_PUNCT = 0x00000100   /* libc value */
#define _RWSTD_CTYPE_CNTRL = 0x00000008   /* libc value */
#define _RWSTD_CTYPE_BLANK = 0x00000004   /* libc value */
#define _RWSTD_CTYPE_XDIGIT = 0x00000800   /* libc value */
#define _RWSTD_CTYPE_GRAPH = 0x00000020   /* libc value */
#define _RWSTD_CTYPE_ALPHA = 0x00000001   /* libc value */
#define _RWSTD_CTYPE_PRINT = 0x00000080   /* libc value */
#define _RWSTD_CTYPE_ALNUM = 0x00000002   /* libc value */
// #define _RWSTD_NO_DEFAULT_TEMPLATE_ARGS
// #define _RWSTD_NO_TYPENAME
// #define _RWSTD_NO_DEPENDENT_TEMPLATE
#define _RWSTD_NO_DEPRECATED_LIBC_IN_STD
// #define _RWSTD_NO_DIV_OVERLOADS
// #define _RWSTD_NO_DIV_INT
#define _RWSTD_NO_DIV_LONG
#define _RWSTD_NO_DIV_LLONG
// #define _RWSTD_NO_DUMMY_DEFAULT_ARG
// #define _RWSTD_NO_DYNAMIC_CAST
// #define _RWSTD_NO_EMPTY_MEM_INITIALIZER
#define _RWSTD_NO_EXCEPTION_ASSIGNMENT
#define _RWSTD_NO_EXCEPTION_COPY_CTOR
#define _RWSTD_NO_EXCEPTION_DEFAULT_CTOR
// #define _RWSTD_NO_EXCEPTION_DTOR
// #define _RWSTD_NO_EXCEPTION_SPECIFICATION_ON_NEW
// #define _RWSTD_NO_EXCEPTION_WHAT
// #define _RWSTD_NO_EXPLICIT
// #define _RWSTD_NO_EXPLICIT_ARG
// #define _RWSTD_NO_USE_CONFIG
// #define _RWSTD_NO_EXPLICIT_CTOR_INSTANTIATION
// #define _RWSTD_NO_EXPLICIT_FUNC_INSTANTIATION
// #define _RWSTD_NO_EXPLICIT_INSTANTIATION
// #define _RWSTD_NO_MEMBER_TEMPLATES
#define _RWSTD_NO_IMPLICIT_INCLUSION
// #define _RWSTD_NO_extern_function_template_imp
#define _RWSTD_NO_EXTERN_FUNCTION_TEMPLATE
// #define _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION
// #define _RWSTD_NO_EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION
// #define _RWSTD_NO_EXPLICIT_MEMBER_INSTANTIATION
// #define _RWSTD_NO_EXPLICIT_MEMBER_SPECIALIZATION
// #define _RWSTD_NO_EXPORT_KEYWORD
#define _RWSTD_NO_EXPORT
// #define _RWSTD_NO_EXTERN_C_COMPATIBILITY
#define _RWSTD_NO_EXTERN_C_OVERLOAD
#define _RWSTD_NO_EXTERN_INLINE
// #define _RWSTD_NO_extern_template_imp
#define _RWSTD_NO_EXTERN_TEMPLATE
// #define _RWSTD_NO_extern_template_before_definition_imp
#define _RWSTD_NO_EXTERN_TEMPLATE_BEFORE_DEFINITION
// #define _RWSTD_NO_FPOS_T
// #define _RWSTD_NO_FRIEND_TEMPLATE
// #define _RWSTD_NO_FUNC
// #define _RWSTD_NO_FUNCTION_TRY_BLOCK
// #define _RWSTD_NO_FUNC_PARTIAL_SPEC
#define _RWSTD_NO_GLOBAL_NOTHROW
#define _RWSTD_NO_GLOBAL_NOTHROW_T
#define _RWSTD_NO_GLOBAL_TYPE_INFO
#define _RWSTD_NO_ICONV
// #define _RWSTD_NO_ICONV_CONST_CHAR
#define _RWSTD_NO_IMPLICIT_INSTANTIATION
#define _RWSTD_NO_DBL_TRAPS
// #define _RWSTD_NO_LONG_DOUBLE
// #define _RWSTD_NO_INFINITY
// computed infinities and NANs for a big endian architecture
#define _RWSTD_FLT_INF_BITS  { '\x7f', '\x80', 0, 0 }
#define _RWSTD_FLT_QNAN_BITS  { '\x7f', '\xa0', 0, 0 }
#define _RWSTD_FLT_SNAN_BITS  { '\x7f', '\x80', '\xc0', 0 }
#define _RWSTD_FLT_DENORM_MIN_BITS  { 0, 0, 0, '\x1' }
#define _RWSTD_FLT_HAS_DENORM  1
#define _RWSTD_DBL_INF_BITS  { '\x7f', '\xf0', 0, 0, 0, 0, 0, 0 }
#define _RWSTD_DBL_QNAN_BITS  { '\x7f', '\xf4', 0, 0, 0, 0, 0, 0 }
#define _RWSTD_DBL_SNAN_BITS  { '\x7f', '\xf0', 0, 0, 0, 0, '\xf8', 0 }
#define _RWSTD_DBL_DENORM_MIN_BITS  { 0, 0, 0, 0, 0, 0, 0, '\x1' }
#define _RWSTD_DBL_HAS_DENORM  1
#define _RWSTD_LDBL_INF_BITS  { '\x7f', '\xff', 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0 }
#define _RWSTD_LDBL_QNAN_BITS  { '\x7f', '\xff', '\x40', 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0 }
#define _RWSTD_LDBL_SNAN_BITS  { '\x7f', '\xff', 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, '\x80', 0, 0 }
#define _RWSTD_LDBL_DENORM_MIN_BITS  { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, '\x1' }
#define _RWSTD_LDBL_HAS_DENORM  1
// #define _RWSTD_NO_INLINE_MEMBER_TEMPLATES
// #define _RWSTD_NO_INSTANTIATE_DEFAULT_ARGS
#define _RWSTD_NO_LCONV_INT_FMAT
// #define _RWSTD_NO_LCONV
#define _RWSTD_LCONV {   /* sizeof (lconv) == 48 */ \
    char* decimal_point;   \
    char* thousands_sep;   \
    char* grouping;   \
    char* int_curr_symbol;   \
    char* currency_symbol;   \
    char* mon_decimal_point;   \
    char* mon_thousands_sep;   \
    char* mon_grouping;   \
    char* positive_sign;   \
    char* negative_sign;   \
    char int_frac_digits;   \
    char frac_digits;   \
    char p_cs_precedes;   \
    char p_sep_by_space;   \
    char n_cs_precedes;   \
    char n_sep_by_space;   \
    char p_sign_posn;   \
    char n_sign_posn;   \
  }
// #define _RWSTD_NO_FLOAT_H
// #define _RWSTD_NO_LDBL_PRINTF_PREFIX
#define _RWSTD_LDBL_PRINTF_PREFIX "L"
#define _RWSTD_NO_LIBC_EXCEPTION_SPEC
// #define _RWSTD_NO_WCHAR_H
#define _RWSTD_NO_NEW_HEADER
#define _RWSTD_NO_LIBC_IN_STD
// #define _RWSTD_NO_LIB_EXCEPTIONS
// #define _RWSTD_NO_LIMITS_H
// #define _RWSTD_NO_STRTOD_IN_LIBC
// #define _RWSTD_NO_STRTOLD_IN_LIBC
// #define _RWSTD_NO_WCHAR_T
// #define _RWSTD_NO_WINT_T
#define _RWSTD_WINT_T unsigned int
// #define _RWSTD_NO_LIMITS
#define _RWSTD_BOOL_SIZE   1 /* sizeof (bool) */
#define _RWSTD_CHAR_SIZE   1 /* sizeof (char) */
#define _RWSTD_SHRT_SIZE   2 /* sizeof (short) */
#define _RWSTD_INT_SIZE    4 /* sizeof (int) */
#define _RWSTD_LONG_SIZE   4 /* sizeof (long) */
#define _RWSTD_FLT_SIZE    4 /* sizeof (float) */
#define _RWSTD_DBL_SIZE    8 /* sizeof (double) */
#define _RWSTD_LDBL_SIZE   16 /* sizeof (long double) */
#define _RWSTD_PTR_SIZE    4 /* sizeof (void*) */
#define _RWSTD_FUNPTR_SIZE 4 /* sizeof (void(*)()) */
#define _RWSTD_MEMPTR_SIZE 8 /* sizeof (void (struct::*)()) */
#define _RWSTD_CHAR_BIT 8
#define _RWSTD_BOOL_MIN !!0
#define _RWSTD_BOOL_MAX !0
#define _RWSTD_CHAR_MAX '\x7f'
#define _RWSTD_CHAR_MIN (-_RWSTD_CHAR_MAX - 1)
#define _RWSTD_SCHAR_MAX 0x7f
#define _RWSTD_SCHAR_MIN (-_RWSTD_SCHAR_MAX - 1)
#define _RWSTD_UCHAR_MAX 0xffU
#define _RWSTD_UCHAR_MIN 0x0U
#define _RWSTD_SHRT_MAX 0x7fff
#define _RWSTD_SHRT_MIN (-_RWSTD_SHRT_MAX - 1)
#define _RWSTD_USHRT_MAX 0xffffU
#define _RWSTD_USHRT_MIN 0x0U
#define _RWSTD_INT_MAX 0x7fffffff
#define _RWSTD_INT_MIN (-_RWSTD_INT_MAX - 1)
#define _RWSTD_UINT_MAX 0xffffffffU
#define _RWSTD_UINT_MIN 0x0U
#define _RWSTD_LONG_MAX 0x7fffffffL
#define _RWSTD_LONG_MIN (-_RWSTD_LONG_MAX - 1L)
#define _RWSTD_ULONG_MAX 0xffffffffUL
#define _RWSTD_ULONG_MIN 0x0UL
#define _RWSTD_LLONG_SIZE  8
#define _RWSTD_LLONG_MAX 0x7fffffffffffffffLL
#define _RWSTD_LLONG_MIN (-_RWSTD_LLONG_MAX - 1LL)
#define _RWSTD_ULLONG_MAX 0xffffffffffffffffULL
#define _RWSTD_ULLONG_MIN 0x0ULL
#define _RWSTD_WCHAR_T_SIZE  4 /* sizeof (wchar_t) */
#define _RWSTD_WCHAR_T_MAX 0xffffffffU
#define _RWSTD_WCHAR_T_MIN 0x0U
#define _RWSTD_SIZE_MAX 0xffffffffUL
#define _RWSTD_SIZE_MIN 0x0UL
#define _RWSTD_PTRDIFF_MAX 0x7fffffffL
#define _RWSTD_PTRDIFF_MIN (-_RWSTD_PTRDIFF_MAX - 1L)
#define _RWSTD_WINT_MAX 0xffffffffU
#define _RWSTD_WINT_MIN 0x0U
#define _RWSTD_MB_LEN_MAX 4   /* libc value */
#define _RWSTD_INT8_T   char
#define _RWSTD_UINT8_T  unsigned char
#define _RWSTD_INT16_T  short
#define _RWSTD_UINT16_T unsigned short
#define _RWSTD_INT32_T  int
#define _RWSTD_UINT32_T unsigned int
#define _RWSTD_INT64_T  long long
#define _RWSTD_UINT64_T unsigned long long
#define _RWSTD_FLT_ROUNDS 1   /* round to nearest */
#define _RWSTD_DBL_DIG 15
#define _RWSTD_DBL_MANT_DIG 53
#define _RWSTD_DBL_MAX_10_EXP 308
#define _RWSTD_DBL_MAX_EXP 1024
#define _RWSTD_DBL_MIN_10_EXP -307
#define _RWSTD_DBL_MIN_EXP -1021
#define _RWSTD_FLT_DIG 6
#define _RWSTD_FLT_MANT_DIG 24
#define _RWSTD_FLT_MAX_10_EXP 38
#define _RWSTD_FLT_MAX_EXP 128
#define _RWSTD_FLT_MIN_10_EXP -37
#define _RWSTD_FLT_MIN_EXP -125
#define _RWSTD_FLT_RADIX 2
#define _RWSTD_LDBL_DIG 33
#define _RWSTD_LDBL_MANT_DIG 113
#define _RWSTD_LDBL_MAX_10_EXP 4932
#define _RWSTD_LDBL_MAX_EXP 16384
#define _RWSTD_LDBL_MIN_10_EXP -4931
#define _RWSTD_LDBL_MIN_EXP -16381
#define _RWSTD_DBL_MAX 1.7976931348623157e+308
#define _RWSTD_FLT_MAX 3.40282347e+38F
#define _RWSTD_LDBL_MAX 1.189731495357231765085759326628007016E+4932L
#define _RWSTD_DBL_EPSILON 2.2204460492503131e-16
#define _RWSTD_DBL_MIN 2.2250738585072014e-308
#define _RWSTD_FLT_EPSILON 1.19209290e-07F
#define _RWSTD_FLT_MIN 1.17549435e-38F
#define _RWSTD_LDBL_EPSILON 1.925929944387235853055977942584927319E-34L
#define _RWSTD_LDBL_MIN 3.362103143112093506262677817321752603E-4932L
// #define _RWSTD_NO_STRTOD_UFLOW    // 34 (ERANGE)
// #define _RWSTD_NO_STRTOLD_UFLOW   // 34 (ERANGE)
// #define _RWSTD_NO_LLONG_PRINTF_PREFIX
#define _RWSTD_LLONG_PRINTF_PREFIX "ll"
#define _RWSTD_NO_LOCALE_NAME_FMAT
#define _RWSTD_NO_MATH_EXCEPTION
// #define _RWSTD_NO_MATH_OVERLOADS
#define _RWSTD_NO_ABS_DBL
#define _RWSTD_NO_ABS_FLT
#define _RWSTD_NO_ABS_LDBL
#define _RWSTD_NO_ACOS_FLT
#define _RWSTD_NO_ACOS_LDBL
#define _RWSTD_NO_ASIN_FLT
#define _RWSTD_NO_ASIN_LDBL
#define _RWSTD_NO_ATAN_FLT
#define _RWSTD_NO_ATAN_LDBL
#define _RWSTD_NO_ATAN2_FLT
#define _RWSTD_NO_ATAN2_LDBL
#define _RWSTD_NO_CEIL_FLT
#define _RWSTD_NO_CEIL_LDBL
#define _RWSTD_NO_COS_FLT
#define _RWSTD_NO_COS_LDBL
#define _RWSTD_NO_COSH_FLT
#define _RWSTD_NO_COSH_LDBL
#define _RWSTD_NO_EXP_FLT
#define _RWSTD_NO_EXP_LDBL
#define _RWSTD_NO_FABS_FLT
#define _RWSTD_NO_FABS_LDBL
#define _RWSTD_NO_FLOOR_FLT
#define _RWSTD_NO_FLOOR_LDBL
#define _RWSTD_NO_FMOD_FLT
#define _RWSTD_NO_FMOD_LDBL
#define _RWSTD_NO_FREXP_FLT
#define _RWSTD_NO_FREXP_LDBL
#define _RWSTD_NO_LDEXP_FLT_INT
#define _RWSTD_NO_LDEXP_LDBL_INT
#define _RWSTD_NO_LOG_FLT
#define _RWSTD_NO_LOG_LDBL
#define _RWSTD_NO_LOG10_FLT
#define _RWSTD_NO_LOG10_LDBL
#define _RWSTD_NO_MODF_FLT
#define _RWSTD_NO_MODF_LDBL
#define _RWSTD_NO_POW_FLT
#define _RWSTD_NO_POW_LDBL
#define _RWSTD_NO_POW_DBL_INT
#define _RWSTD_NO_POW_FLT_INT
#define _RWSTD_NO_POW_LDBL_INT
#define _RWSTD_NO_SIN_FLT
#define _RWSTD_NO_SIN_LDBL
#define _RWSTD_NO_SINH_FLT
#define _RWSTD_NO_SINH_LDBL
#define _RWSTD_NO_SQRT_FLT
#define _RWSTD_NO_SQRT_LDBL
#define _RWSTD_NO_TAN_FLT
#define _RWSTD_NO_TAN_LDBL
#define _RWSTD_NO_TANH_FLT
#define _RWSTD_NO_TANH_LDBL
#define _RWSTD_NO_MBSTATE_T
// #define _RWSTD_NO_MEMBER_TEMPLATE_OVERLOAD
// #define _RWSTD_NO_MUNMAP
#define _RWSTD_MUNMAP_ARG1_T void*
#define _RWSTD_NO_NATIVE_WCHAR_T
// #define _RWSTD_NO_NESTED_CLASS_ACCESS
// #define _RWSTD_NO_NEWLINE
#define _RWSTD_NEWLINE "\n"
#define _RWSTD_NEWLINE_LF
// #define _RWSTD_NO_NEW_CLASS_TEMPLATE_SYNTAX
// #define _RWSTD_NO_NEW_FUNC_TEMPLATE_SYNTAX
// #define _RWSTD_NO_NL_LANGINFO
// #define _RWSTD_NO_NL_TYPES_H
// #define _RWSTD_NO_NONCLASS_ARROW_RETURN
// #define _RWSTD_NO_NONDEDUCED_CONTEXT
#define _RWSTD_NO_FOR_LOCAL_SCOPE
// #define _RWSTD_NO_INT_TRAPS
#define _RWSTD_NO_SIGNALING_NAN
// #define _RWSTD_NO_OFFSETOF
// #define _RWSTD_NO_OPERATOR_DELETE_ARRAY
// #define _RWSTD_NO_STD_NOTHROW_T
// #define _RWSTD_NO_OPERATOR_DELETE_ARRAY_NOTHROW
#define _RWSTD_NO_OPERATOR_DELETE_ARRAY_PLACEMENT
// #define _RWSTD_NO_OPERATOR_DELETE_NOTHROW
#define _RWSTD_NO_OPERATOR_DELETE_PLACEMENT
// #define _RWSTD_NO_OPERATOR_NEW_ARRAY
// #define _RWSTD_NO_OPERATOR_NEW_ARRAY_NOTHROW
#define _RWSTD_NO_OPERATOR_NEW_ARRAY_PLACEMENT
// #define _RWSTD_NO_OPERATOR_NEW_NOTHROW
#define _RWSTD_NO_OPERATOR_NEW_PLACEMENT
// #define _RWSTD_NO_OVERLOAD_OF_TEMPLATE_FUNCTION
// #define _RWSTD_NO_PART_SPEC_OVERLOAD
// #define _RWSTD_NO_PLACEMENT_DELETE
// #define _RWSTD_NO_SIZE_T
#define _RWSTD_CLOCK_T unsigned int
#define _RWSTD_PTRDIFF_T long
#define _RWSTD_SIZE_T unsigned long
#define _RWSTD_TIME_T long
#define _RWSTD_VA_LIST void*
#define _RWSTD_CLOCKS_PER_SEC 1000000
#define _RWSTD_RAND_MAX 32767
#define _RWSTD_EOF -1
#define _RWSTD_WEOF -1
#define _RWSTD_L_TMPNAM 25
#define _RWSTD_IOFBF 0
#define _RWSTD_IOLBF 128
#define _RWSTD_IONBF 4
#define _RWSTD_BUFSIZ 1024
#define _RWSTD_FOPEN_MAX 60
#define _RWSTD_FILENAME_MAX 14
#define _RWSTD_TMP_MAX 17576
#define _RWSTD_FPOS_T long
// #define _RWSTD_NO_POD_ZERO_INIT
// #define _RWSTD_NO_PRETTY_FUNCTION
// #define _RWSTD_NO_PTR_EXCEPTION_SPEC
// #define _RWSTD_NO_PUTENV_CONST_CHAR
// #define _RWSTD_NO_QUIET_NAN
// #define _RWSTD_NO_REINTERPRET_CAST
// #define _RWSTD_NO_SETLOCALE
// #define _RWSTD_NO_SIG_ATOMIC_T
#define _RWSTD_SIG_DFL 0
#define _RWSTD_SIG_ERR -1
#define _RWSTD_SIG_IGN 1
#define _RWSTD_SIGABRT 6
#define _RWSTD_SIGFPE 8
#define _RWSTD_SIGILL 4
#define _RWSTD_SIGINT 2
#define _RWSTD_SIGSEGV 11
#define _RWSTD_SIGTERM 15
#define _RWSTD_SIG_ATOMIC_T unsigned int
// #define _RWSTD_NO_SPECIALIZATION_ON_RETURN_TYPE
// #define _RWSTD_NO_SPECIALIZED_FRIEND
// #define _RWSTD_NO_STATICS_IN_TEMPLATE
// #define _RWSTD_NO_STATIC_CAST
// #define _RWSTD_NO_STATIC_CONST_MEMBER_EXPR_CONST
// #define _RWSTD_NO_STATIC_CONST_MEMBER_INIT
#define _RWSTD_NO_STATIC_TEMPLATE_MEMBER_INIT
// #define _RWSTD_NO_STD_NOTHROW
// #define _RWSTD_NO_STD_TYPE_INFO
// #define _RWSTD_NO_STRUCT_TM
#define _RWSTD_STRUCT_TM {   /* sizeof (struct tm) == 36          */ \
    int tm_sec;              /* seconds after the minute [O..61]  */ \
    int tm_min;              /* minutes after the hour   [0..59]  */ \
    int tm_hour;             /* hours since midnight     [0..23]  */ \
    int tm_mday;             /* day of the month         [1..31]  */ \
    int tm_mon;              /* months since January     [0..11]  */ \
    int tm_year;             /* years since 1900                  */ \
    int tm_wday;             /* days since Sunday        [0..6]   */ \
    int tm_yday;             /* days since January 1     [0..365] */ \
    int tm_isdst;            /* Daylight Saving Time              */ \
  }
// #define _RWSTD_NO_STRUCT_TM_IN_WCHAR_H
// #define _RWSTD_NO_TEMPLATE_DEFAULT_ARG_CONVERSION
// #define _RWSTD_NO_TEMPLATE_ON_RETURN_TYPE
#define _RWSTD_NO_THREAD_SAFE_ERRNO
#define _RWSTD_NO_THREAD_SAFE_EXCEPTIONS
#define _RWSTD_NO_TLS
// #define _RWSTD_NO_TYPE_INFO_DTOR
// #define _RWSTD_NO_TYPE_INFO_BEFORE
// #define _RWSTD_NO_TYPE_INFO_EQUALITY
#define _RWSTD_NO_TYPE_INFO_INEQUALITY
#define _RWSTD_NO_TYPE_INFO_NAME
// #define _RWSTD_NO_UNAME
#define _RWSTD_OS_HP_UX
#define _RWSTD_OS_SYSNAME "HP_UX"
#define _RWSTD_OS_RELEASE "B.11.00"
#define _RWSTD_OS_VERSION "A"
#define _RWSTD_OS_MAJOR 11
#define _RWSTD_OS_MINOR 0
#define _RWSTD_OS_MICRO 0
// #define _RWSTD_NO_UNISTD_DECL
#define _RWSTD_STDIN_FILENO                0   // STDIN_FILENO
#define _RWSTD_STDOUT_FILENO             0x1   // STDOUT_FILENO
#define _RWSTD_STDERR_FILENO             0x2   // STDERR_FILENO
#define _RWSTD_O_RDONLY                    0   // O_RDONLY
#define _RWSTD_O_WRONLY                  0x1   // O_WRONLY
#define _RWSTD_O_RDWR                    0x2   // O_RDWR
#define _RWSTD_O_ACCMODE                 0x3   // O_ACCMODE
#define _RWSTD_O_APPEND                  0x8   // O_APPEND
#define _RWSTD_O_EXCL                  0x400   // O_EXCL
#define _RWSTD_O_CREAT                 0x100   // O_CREAT
#define _RWSTD_O_TRUNC                 0x200   // O_TRUNC
#define _RWSTD_SEEK_SET                    0   // SEEK_SET
#define _RWSTD_SEEK_CUR                  0x1   // SEEK_CUR
#define _RWSTD_SEEK_END                  0x2   // SEEK_END
#define _RWSTD_F_GETFL                   0x3   // F_GETFL
#define _RWSTD_OFF_T long   // off_t
#define _RWSTD_SSIZE_T long   // ssize_t
// #define _RWSTD_NO_VSNPRINTF_RETURN
#define _RWSTD_NO_VSNPRINTF_VFLOW_VALID /* return value negative on overflow */
// #define _RWSTD_NO_WCSFTIME_WCHAR_T_FMAT
#define _RWSTD_NO_WCSFTIME_WCHAR_T_FMAT
#define _RWSTD_WCSFTIME_ARG3_T const char*
#define _RWSTD_NO_WCTRANS_T
// #define _RWSTD_NO_WCTYPE_T
#define _RWSTD_WCTYPE_T unsigned int
// Symantec changed defines
// #define _RWSTD_NO_LOCALE_NAME_FMAT
#define _RWSTD_LC_COLLATE   3
#define _RWSTD_LC_CTYPE     0
#define _RWSTD_LC_MONETARY  4
#define _RWSTD_LC_NUMERIC   1
#define _RWSTD_LC_TIME      2
#define _RWSTD_LC_MESSAGES  5
#define _RWSTD_LC_ALL       6
#define _RWSTD_LC_MAX      _RWSTD_LC_ALL
#define _RWSTD_LC_MIN      _RWSTD_LC_CTYPE

Mime
View raw message