[ODE] Macros

Erwin de Vries erwin at vo.com
Sat Oct 5 12:14:02 2002


Why are you including dxTriList.h in the first place?? The idea is that you
include dTriList.h in your external code.

Erwin

----- Original Message -----
From: "Marco Grubert" <grubertm@hotmail.com>
To: <ode@q12.org>
Sent: Tuesday, October 01, 2002 00:54
Subject: [ODE] Macros


> Well, if standard macros are evil then using macros to redefine keywords
is
> evil-squared. I was wondering why my code would break whenever I included
> dxTrilist.h :
>
> // MSVC fixup.
> #define for if (false); else for
>
> I assume that the author's intent is to limit the variable scope (MSVC is
> not using the current C++ standard of restring for-variables to the scope
of
> the loop). Please, please don't do this. The portable way is to not
declare
> variables in the for header but before it.
>
> BTW the CVS tri-collider revision is outdated (06/24/02)
>
> Thank you,
>   Marco Grubert <- exhausted after trying to get ODE with tricollider to
> work again
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
>
>