Issue 1448484: declspec for ssize_t (original) (raw)

Created on 2006-03-12 21:41 by zooko, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
dif zooko,2006-03-12 21:41
Messages (4)
msg49722 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2006-03-12 21:41
If you apply this patch (against today's SVN trunk) then the new ssize_t funcs will be exported when building a DLL with cygwin gcc 3.4.4. Then you'll hit another problem, about which more in the next patch.
msg49723 - (view) Author: Zooko O'Whielacronx (zooko) Date: 2006-03-13 14:21
Logged In: YES user_id=52562 I think the initial summary wasn't clear. With this patch, the new ssize_t feature that was recently merged into trunk compiles on Cygwin. Without this patch, it doesn't.
msg49724 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-03-19 10:24
Logged In: YES user_id=21627 Can you please explain what the problem is? PyArg_Parse is declared dllexport already in Include/modsupport.h, so declaring it dllexport in getargs.c should not be necessary. Also, please don't declare _PyArg_Parse_SizeT dllexport in the implementation file; instead, add a prototype in the header file and declare that as dllexport. IOW, there shouldn't be any changes to getargs.c.
msg49725 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-04-15 16:00
Logged In: YES user_id=21627 I believe the problem has been fixed in the trunk; if not, please submit a bug report.
History
Date User Action Args
2022-04-11 14:56:15 admin set github: 43023
2006-03-12 21:41:27 zooko create