Hi Robert,
thanks for all the help so far! So i added all your changes. And everything is compiling now, just one test is failing:
Failure in TEST(UtestShell, TestDefaultCrashMethodInSeparateProcessTest)
.../TestTestingFixture.h:112: error:
actual <
Generic:1: error: Failure in TEST(Generic, Generic)
-p doesn't work on this platform, as it is lacking fork.
> did not contain <Failed in separate process - killed by signal 11>
Errors (1 failures, 429 tests, 415 ran, 735 checks, 14 ignored, 0 filtered out, 0 ms)
And about the atexit error, the strange part is that atexit is defined in keil inside the stdlib.h like this:
extern _ARMABI int atexit(void (* /*func*/)(void)) __attribute__((__nonnull__(1)));
/*
* registers the function pointed to by func, to be called without its
* arguments at normal program termination. It is possible to register at
* least 32 functions.
* Returns: zero if the registration succeeds, nonzero if it fails.
*/
#if defined(__EDG__) && !defined(__GNUC__)
#define __LANGUAGE_LINKAGE_CHANGES_FUNCTION_TYPE
#endif
#if defined(__cplusplus) && defined(__LANGUAGE_LINKAGE_CHANGES_FUNCTION_TYPE)
/* atexit that takes a ptr to a function with C++ linkage
* but not in GNU mode
*/
typedef void (* __C_exitfuncptr)();
extern "C++"
inline int atexit(void (* __func)()) {
return atexit((__C_exitfuncptr)__func);
}
#endif