<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot compile poppler with Qt5 frontend on Win 8 with Visual Studio 2012"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73111#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot compile poppler with Qt5 frontend on Win 8 with Visual Studio 2012"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73111">bug 73111</a>
              from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre><span class="quote">> +#ifdef _MSC_VER
> +#undef max
> +#endif
>  void AnnotLine::generateLineAppearance()
>  {</span >

It would be better to define NOMINMAX before including windows.h as documented
in <a href="http://support.microsoft.com/kb/143208">http://support.microsoft.com/kb/143208</a>

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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>