https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6697
Bug #: 6697
Summary: Make spamc VC 2010 compliant
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: PC
OS/Version: Windows 7
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 5009
--> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5009
Make spamc VC 2010 compliant
With VC 2010 ms changed the header content to include posix error codes to
errno.h (with different values compared to the winsock error).
With these changes the build process of spamc gives a lot of these redefinition
marco warnings:
e:\domspamc\dsc-suite\dscglobal\lib.win32\spamc\utils.h(46): warning C4005:
'EWOULDBLOCK': Makro-Neudefinition
1> e:\anwend\microsoft visual studio 10.0\vc\include\errno.h(132):
Siehe vorherige Definition von 'EWOULDBLOCK'
...
Other projects seemed to have identical problems with that change to errno.h:
http://www.mail-archive.com/[email protected]/msg05152.html
The attached patch fixes this behaviour and additionally it suppresses two
other 4996 warnings.
The attached patch applies to trunk.
Greetings
NicoP.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.