[Poppler-bugs] [Bug 73111] Cannot compile poppler with Qt5 frontend on Win 8 with Visual Studio 2012

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 29 02:19:31 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=73111

--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> ---
> +#ifdef _MSC_VER
> +#undef max
> +#endif
>  void AnnotLine::generateLineAppearance()
>  {

It would be better to define NOMINMAX before including windows.h as documented
in http://support.microsoft.com/kb/143208

The long term solution would be to not include windows.h in our header files.
All windows specific code should factored out into separate .cc files.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20131229/dfa1393a/attachment.html>


More information about the Poppler-bugs mailing list