Today I wanted to compile my code on Windows, and ran into some nasty
macros:

platformsdk/include/windef.h  line 90ff:
#define far
#define near
These cause problems in Wt::WMatrix4x4::frustum 

platformsdk/include/winerror.h  line 92:
#define NO_ERROR 0L
This causes problems in Wt::WGLWidget::GLenum::NO_ERROR

At the moment I do just this:
#undef far
#undef near
#undef NO_ERROR
#include <Wt/WMatrix4x4>
#include <Wt/WGLWidget>

but it might be better to handle these macros inside the Wt headers.

Rgds
Richard

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

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to