Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=8355          
     




------- Additional Comments From [EMAIL PROTECTED]  2006-09-23 11:51 -------
(In reply to comment #3)
> (In reply to comment #2)
> > Not a bug.
> > 
> > If you compile with warning flags (such as -Wall -Wmissing-prototypes -g 
> > -ansi
> > -pedantic) you'll see a bunch of warnings such as:
> > 
> > attribbug.c:136: warning: implicit declaration of function 
> > `glVertexAttrib1dARB'
> > attribbug.c:141: warning: implicit declaration of function 
> > `glVertexAttrib1fARB'
> > 
> > To fix that, add #define GL_GLEXT_PROTOTYPES before you #include GL/gl.h
> > 
> > Without prototypes, the compiler is passing an 8-byte double to
> > glVertexAttrib1fARB() which becomes an invalid value inside Mesa since it's
> > expecting a 4-byte float.
> > 
> > When using C/C++ you should always use as many compiler warning options as
> possible.
> > 
> 
> Oh, I didn't realize that I'd forgotten -Wall. Thanks for pointing that out.
> 

(In reply to comment #2)
> Not a bug.
> 
> If you compile with warning flags (such as -Wall -Wmissing-prototypes -g -ansi
> -pedantic) you'll see a bunch of warnings such as:
> 
> attribbug.c:136: warning: implicit declaration of function 
> `glVertexAttrib1dARB'
> attribbug.c:141: warning: implicit declaration of function 
> `glVertexAttrib1fARB'
> 
> To fix that, add #define GL_GLEXT_PROTOTYPES before you #include GL/gl.h
> 
> Without prototypes, the compiler is passing an 8-byte double to
> glVertexAttrib1fARB() which becomes an invalid value inside Mesa since it's
> expecting a 4-byte float.
> 
> When using C/C++ you should always use as many compiler warning options as
possible.
> 

I had seen those messages, where is a programmer supposed to find this out from
other than this bug?          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to