From: H. H. <hen...@gm...> - 2008-08-23 22:45:02
|
Thanks for this info. As you can see, the exact mathlib interface is still in a state of flux. On Sun, Aug 24, 2008 at 1:24 AM, Orhun Birsoy <orh...@gm...> wrote: > Hi, > > I just wanted to note that anonymous unions generate the following warning > in Visual C++ (9.0) at warning level 4. > > glsdk\trunk\inc\GLSDK/glm.h(19) : warning C4201: nonstandard extension used > : nameless struct/union > > > It might be early to report such problems but I had to make several changes > to make glm.c compile with Visual C++. > > - windows.h has to be included before glm.h. > - I had to define _USE_MATH_DEFINES to have M_PI defined. > . From MSDN > > The "Math Constants" are not defined in Standard C/C++. Therefore, in > order to use them, you have to first define _USE_MATH_DEFINES and then > include cmath or math.h as below. > > -- > Orhun Birsoy > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Glsdk-devel mailing list > Gls...@li... > https://lists.sourceforge.net/lists/listinfo/glsdk-devel > > -- Henri 'henux' Häkkinen |