http://gdcproject.org/bugzilla/show_bug.cgi?id=44
Daniel Green <ven...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ven...@gmail.com Summary|"naked" GCC attribute |MinGW: Add support for D |needed to properly support |fibers. |fibers on Windows | --- Comment #4 from Daniel Green <ven...@gmail.com> 2013-03-17 21:18:48 UTC --- GCC doesn't do naked outside of ARM, AVR, MCORE, RX and SPU. http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html There are two solutions to this that don't involve using the WinAPI. The first is rewriting the fiber implementation to not need naked. Or putting the switchContext function into an external file as done on some systems. version( AsmExternal ) extern (C) void fiber_switchContext( void** oldp, void* newp ); Working fiber code for that function should be in the mingw repo. It's just disabled as I never got around to externalizing it. I won't get around to it until I finish getting GDC working with 4.8.0. Going to update this title to properly reflect what needs to happen. -- Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all issue changes.