[Gambas-devel] A few comment about Tommy's changes
tommyline at ...674...
tommyline at ...674...
Tue Aug 2 10:35:16 CEST 2011
Benoit,
I found it, it's declared as GLUquadric, not GluQuadric. it compiles ok. Time to clean up the rest of the code now.
----- Original Message -----
From: "Benoît Minisini" <gambas at ...1...>
To: "mailing list for gambas developers" <gambas-devel at ...494...t>
Sent: Tuesday, 2 August, 2011 9:28:38 AM
Subject: Re: [Gambas-devel] A few comment about Tommy's changes
> Hi Benoit,
>
> I tried to implement gluQuadratic object, but compiler complains with:
>
> "In file included from GLUquadratic.c:26:
> cgluquadric.h:42: error: expected specifier-qualifier-list before
> ‘GluQuadric’ "
>
>
> cgluquadric.h file contains:
>
>
> #ifndef __CGLUQUADRIC_H
> #define __CGLUQUADRIC_H
>
> #include "gambas.h"
> #include "main.h"
> #include "GLU.h" // <==== I thought I should include path for Glu
> function?
>
> #ifndef __CGLUQUADRIC_C
> extern GB_DESC GluQuadricDesc[];
> #else
>
> #define THIS OBJECT(CGLUQUADRIC)
>
> #endif
>
> typedef
> struct {
> GB_BASE ob;
> GluQuadric *quadric; // <==== this is line No 42.
> }
> CGLUQUADRIC;
>
> #endif
>
>
At first sight I see no error... Isn't 'GluQuadric' defined in 'GLU.h' ?
--
Benoît Minisini
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
More information about the Devel
mailing list