Two underscores!

Type F1 in VCstudio and search __min.

tDR112 wrote:
thanks Klaas
I changed all the min/max to _min/_max
but with no luck now i just get the same error but with a underscore too
c:\program files\microsoft visual studio
8\vc\platformsdk\include\GdiplusTypes.h(459) : error C3861: '_min':
identifier not found
c:\program files\microsoft visual studio
8\vc\platformsdk\include\GdiplusTypes.h(460) : error C3861: '_max':
identifier not found
I have attach my GdiplusTypes.h

Jeffrey Roe,



On Mon, Apr 27, 2009 at 12:17 PM, Klaas Holwerda
<db...@nl.thalesgroup.com> wrote:
tDR112 wrote:
Hello all ,
I am having trouble installing wxart2d.
I am using wxWidgets-2.8.8 with vista.I have followed the install
steps up to the point after i have used cmake. So now i have a VS 2005
project file and I am trying to build it, I am getting this error
5>c:\program files\microsoft visual studio
8\vc\platformsdk\include\GdiplusTypes.h(459) : error C3861: 'min':
identifier not found
5>c:\program files\microsoft visual studio
8\vc\platformsdk\include\GdiplusTypes.h(460) : error C3861: 'max':
identifier not found
It seems you have WXART2D_USE_GDIPLUSDRAWER option ON.

Change in GdiPlusTypes.h all ( min into __min same with max ).

      REAL right = min(a.GetRight(), b.GetRight());

      REAL right = __min(a.GetRight(), b.GetRight());


I have no idea what causes this, but at least it makes it work.

I am trying to compile the debug version.
Any help would be great, thanks
Jeffrey Roe,


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

--
Unclassified


------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the
sender and delete it. Any unauthorized copying, disclosure or distribution
of this email or its attachment(s) is forbidden. Thales Nederland BV will
not accept liability for any damage caused by this email or its
attachment(s). Thales Nederland BV is seated in Hengelo and is registered at
the Chamber of Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev




------------------------------------------------------------------------

This body part will be downloaded on demand.


------------------------------------------------------------------------

This body part will be downloaded on demand.


--
Unclassified


------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------

begin:vcard
fn:Klaas Holwerda
n:Holwerda;Klaas
note:Unclassified
version:2.1
end:vcard

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to