Please set correct #define EXIT_FAILURE 1;
in MSVC - #define EXIT_FAILURE 1;
in Linux libc5 - #define EXIT_FAILURE 1;
Logged In: YES
I have applied patch to mingw runtime. MS docs say it is
1. However, it also says that EXIT_FAILURE,EXIT_SUCCESS
are return values for atexit. A failed call to atexit
typedef void (* p_atexit_fn )(void);
printf ("Failed atexit registration returns %d\n",
atexit ((p_atexit_fn)NULL) );
So maybe that is where confusion comes from.
ANSI just says that EXIT_FAILURE is defined by
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.