Hi,
I have recently updated my PC/OS to Vista 64-bit. (I know).
The debugger plugin was building fine with MinGW 3.4.5.
Now I get the error __MINGW_NOTHROW when building gdb_driver.cpp.
Anyone seen this before?
C:\MinGW\include\malloc.h line 53 error: '__MINGW_NOTHROW' does not name a type
From malloc:
#ifdef __cplusplus
extern "C" {
#endif
/*
The _heap* memory allocation functions are supported on NT
but not W9x. On latter, they always set errno to ENOSYS.
*/
_CRTIMP int __cdecl __MINGW_NOTHROW _heapwalk (_HEAPINFO*);
#ifdef __GNUC__
#define _alloca(x) __builtin_alloca((x))
#endif
Problem seems to point in _mingw.h:
#if __MINGW_GNUC_PREREQ (3, 3)
#define __MINGW_NOTHROW __attribute__ ((__nothrow__))
#else
#define __MINGW_NOTHROW
#endif /* GNUC >= 3.3 */
Apologies if this is more of a compiler issue.
Martin.