Fix various compiler warnings contributed by Norman Princeton.
This commit is contained in:
parent
f3ca9b2e05
commit
ffe70e3221
4 changed files with 22 additions and 3078 deletions
3079
FlightGear.dsp
3079
FlightGear.dsp
File diff suppressed because it is too large
Load diff
|
@ -25,6 +25,14 @@
|
||||||
#ifndef _GUI_H_
|
#ifndef _GUI_H_
|
||||||
#define _GUI_H_
|
#define _GUI_H_
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <GL/glut.h> // needed before pu.h
|
#include <GL/glut.h> // needed before pu.h
|
||||||
#include <plib/pu.h> // plib include
|
#include <plib/pu.h> // plib include
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <GL/glut.h> // needed before pu.h
|
#include <GL/glut.h> // needed before pu.h
|
||||||
#include <plib/pu.h> // plib include
|
#include <plib/pu.h> // plib include
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,11 @@
|
||||||
# include <math.h>
|
# include <math.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
# include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include <simgear/xgl/xgl.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in a new issue