[poppler] Support for building with the Microsoft compiler

Reece Dunn msclrhd at hotmail.com
Thu Apr 13 14:49:21 PDT 2006


Hi all,

The supplied patch adds support for the Microsoft compiler, plus a few minor corrections. This is a run down of the changes:

*  msvc doesn't like using __cdecl on constructs like void __cdecl ( *f )( int );
*  made fontconfig optional;
*  some goo includes are not using the "goo/" prefix;
*  msvc does not define strncasecmp and snprintf.

NOTE: The XPDF/Poppler library assumes a non-Unicode build on Windows. If you build with Unicode support, it fails to build. The fix for this is only about 12 changes to goo/gfile.h, goo/gfile.cc and poppler/GlobalParams.cc that use the Windows API. I can submit a patch for this as well.

Regards,
- Reece
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poppler.diff
Type: application/octet-stream
Size: 5204 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20060413/4ecca58d/poppler.obj


More information about the poppler mailing list