On Tuesday 18 September 2007 21:29:08 Craig Ringer wrote:
> Hi
>
> I just thought I'd mention that the current code fails to build under
> MSVC++ on win32. Strangely enough, this is due to over-strict adherence
> to standards.
>
> It seems that exp2() and log2() are not part of c++ and are not required
> to appear in <cmath> / <math.h> . gcc includes them as an extension for
> C89/C99 compatibility. Visual Studio doesn't, so PdfTTFWriter fails to
> build.
>
> I'll look at options here but defining replacements for these if VC++ is
> detected might be a sane approach. I'll if CMake's configure-like
> functionality can be used to test instead though.


Based on what Jean has said, IIRC, a lot of standard C/C++ apis are deprecated 
on Win32.

Craig

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to