c/977: warings when including <GL/glu.h> or <GL/glx.h>
jeff.deifik@jpl.nasa.gov
jeff.deifik@jpl.nasa.gov
Mon Dec 4 10:36:00 GMT 2000
>Number: 977
>Category: c
>Synopsis: warings when including <GL/glu.h> or <GL/glx.h>
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 04 10:36:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: jeff deifik
>Release: gcc version 2.95.2 19991024
>Organization:
>Environment:
red hat 6.2
>Description:
when compiling the following (b.c):
#include <GL/glu.h>
#include <GL/glx.h>
int i;
with the following command line:
gcc -I/usr/X11R6/include -Wstrict-prototypes b.c -c
I get the following warnings:
In file included from b.c:1:
/usr/X11R6/include/GL/glu.h:338: warning: function declaration isn't a prototype
/usr/X11R6/include/GL/glu.h:412: warning: function declaration isn't a prototype
/usr/X11R6/include/GL/glu.h:445: warning: function declaration isn't a prototype
In file included from b.c:2:
/usr/X11R6/include/GL/glx.h:343: warning: function declaration isn't a prototype
>How-To-Repeat:
compile b.c, in description
>Fix:
prototype functions in glu.h and glx.h
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list