text
stringlengths
0
2.2M
printf("\n _YVALS: ");
#ifdef _YVALS
printf("%s\n", STRINGIFY(_YVALS) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __APPLE_CC__: ");
#ifdef __APPLE_CC__
printf("%s\n", STRINGIFY(__APPLE_CC__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __GLIBCPP__: ");
#ifdef __GLIBCPP__
printf("%s\n", STRINGIFY(__GLIBCPP__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __GLIBCXX__: ");
#ifdef __GLIBCXX__
printf("%s\n", STRINGIFY(__GLIBCXX__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __GXX_EXPERIMENTAL_CXX0X__: ");
#ifdef __GXX_EXPERIMENTAL_CXX0X__
printf("%s\n", STRINGIFY(__GXX_EXPERIMENTAL_CXX0X__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __IBMCPP__: ");
#ifdef __IBMCPP__
printf("%s\n", STRINGIFY(__IBMCPP__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __INTELLISENSE__: ");
#ifdef __INTELLISENSE__
printf("%s\n", STRINGIFY(__INTELLISENSE__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __SGI_STL_PORT: ");
#ifdef __SGI_STL_PORT
printf("%s\n", STRINGIFY(__SGI_STL_PORT) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __STD_RWCOMPILER_H__: ");
#ifdef __STD_RWCOMPILER_H__
printf("%s\n", STRINGIFY(__STD_RWCOMPILER_H__) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __STLPORT_VERSION: ");
#ifdef __STLPORT_VERSION
printf("%s\n", STRINGIFY(__STLPORT_VERSION) );
#else
printf("UNDEFINED\n");
#endif
printf("\n __cpp_lib_atomic_is_always_lock_free: ");
#ifdef __cpp_lib_atomic_is_always_lock_free
printf("%s\n", STRINGIFY(__cpp_lib_atomic_is_always_lock_free) );
#else
printf("UNDEFINED\n");
#endif
printf("\n\nprintFlags: Leave\n");
}
// ============================================================================
// MAIN PROGRAM
// ----------------------------------------------------------------------------
int main(int argc, char *argv[])
{
int test = argc > 1 ? atoi(argv[1]) : 0;
bool verbose = argc > 2;
bool veryVerbose = argc > 3;
bool veryVeryVerbose = argc > 4;
(void) veryVerbose; // unused variable warning
(void) veryVeryVerbose; // unused variable warning
setbuf(stdout, NULL); // Use unbuffered output
printf("TEST " __FILE__ " CASE %d\n", test);
if (veryVeryVerbose) {
printFlags();