This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 12/07/2017 01:19 PM, Yaakov Selkowitz wrote:
For patches 13 and 14, the replacements for _EXFUN_NOTHROW(), _EXFUN(), _EXPARM(), and _EXFNPTR() are all dropping the __cdecl which is applied when __CYGWIN__ is defined. I would expect this would wreak havoc for Cygwin, and will need to be addressed, somehow.diff --git a/newlib/libc/include/_ansi.h b/newlib/libc/include/_ansi.h index 3e2490088..e2737ed48 100644 --- a/newlib/libc/include/_ansi.h +++ b/newlib/libc/include/_ansi.h @@ -47,19 +47,10 @@ #endif#ifdef _HAVE_STDC-#ifdef __CYGWIN__ -#define _EXFUN_NOTHROW(name, proto) __cdecl name proto _NOTHROW -#define _EXFUN(name, proto) __cdecl name proto -#else -#define _EXFUN_NOTHROW(name, proto) name proto _NOTHROW -#define _EXFUN(name, proto) name proto -#endif
Craig
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |