[sylpheed:34968] Building with MSVC

Gisle Vanem gvanem at broadpark.no
Wed Dec 28 01:46:50 JST 2011


Compiling using MSVC's cl.exe is easy with the attached patches. I.e.
CL doesn't like code before data declarations (like gcc allows). I could
have forced building the project as C++ (using the -TP opion). But that
causes too many errors. 

A simple fix is attached. The fixes applies to codeconv.c, procmsg.c and
imap.c. All in the libsylph dir.

--gv
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs-1.txt
URL: <http://www.sraoss.jp/pipermail/sylpheed/attachments/20111227/43dbbe31/attachment.txt>


More information about the Sylpheed mailing list