SA Bugzilla – Bug 5447
sa-compile generates invalid code for Windows compiler
Last modified: 2007-08-19 14:43:45 UTC
Microsoft Visual Studio 2003 won't take external function prototypes as part of the CODE: section of body0.xs. The prototypes need to go in the PREINIT: section. This would be a fairly simple mod, assuming that other compilers don't object. While I can't easily create a patch file to do it, I could modify sa-compile and upload the modified version if it would be helpful.
yep, that would be useful -- thanks! if you can port it to work on win32, I'd be very happy.
Created attachment 3934 [details] modified sa-compile
this is fixed in 3.2.3, right? reopen otherwise. cheers ;)