<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>More c++ problems -- QT4</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">Modules/gui/qt4.hpp exhibits the same problem I've seen in dshow and live555 -- needing to undef size_t and ptrdiff_t before an include <whatever></FONT></P>

<P><FONT FACE="Times New Roman">For qt4.hpp, I've attached a DIFF showing the new version (recommended change)</FONT>

<BR><FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<...>> </FONT>

<BR><FONT FACE="Times New Roman">A bigger problem is that some of the automatically generated qt4 files have the same issue.  Specifically modules/gui/qt4/ui/sout -- sout.h is generated from sout.ui.  </FONT></P>

<P><FONT FACE="Times New Roman">Whoever the qt4 guru is -- what can be done to force those IFDEF/UNDEF/ENDIF statements into the .ui resource files?</FONT>
</P>

<P><FONT FACE="Times New Roman">Sorry to be such a pain, but I've run into the same problems on multiple machines (home and work), with over a dozen total Cygwin installations using different sources.  I can generate recommended fixes to normal files, but am SOL when it comes to that QT4 stuff.</FONT></P>

<P><FONT FACE="Times New Roman">(It makes things difficult, relying on separate executable UIC, RCC, MOC tools -- those .ui files don't have any obvious way to stuff ifdef/undef things into them, yet the resulting .h files after going through the respective compilers need to be changed.  Hopefully whoever has been championing QT4 knows how to do these good, necessary, things, otherwise it'll start taking patch files to make the trunk, not just the contribs.)</FONT></P>

<P><FONT FACE="Times New Roman">Thanks.</FONT>
</P>

<P><FONT FACE="Times New Roman">Mark</FONT>
</P>

</BODY>
</HTML>