On sexta-feira, 8 de novembro de 2013 17:03:32, Graham Labdon wrote:
> I have defined a macro named min in my code!

You probably meant "I have *not* defined [...]"

I understand. But you included a header that does define one: windows.h.

Stop doing that. windows.h has a facility to ask it not to define dangerous 
macros. You should use it.

You should also only include windows.h in .cpp sources, never in headers, and 
always as the last thing you include (similarly for X11/Xlib.h).
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to