|
From: Hartmut B. <har...@te...> - 2002-06-02 17:43:47
|
> -----Ursprungliche Nachricht----- > Von: Casper Hornstrup [SMTP:ch...@us...] > Gesendet am: Freitag, 31. Mai 2002 17:40 > An: rea...@li... > Betreff: Re: [ros-kernel] bug in alloca ? > > Could it be because our msvcrt headers define _alloca to use cdecl > calling convention? Alloca.h defines _alloca and alloca: void * _alloca(size_t); #define alloca(x) _alloca(x) If alloca is removed or replaced with a real declaration, it works perfect. An other way is to replace alloca with _alloca in our source. Our alloca.h comes from mingw. Mingw has the same problem. Any comments? - Hartmut |