Fixes for Irix compatibility.
Fix several long standing irix compiler warnings.
This commit is contained in:
parent
d8a50ad49e
commit
62ed7592e3
5 changed files with 8 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
// Possible types of ATC type that the radios may be tuned to.
|
// Possible types of ATC type that the radios may be tuned to.
|
||||||
// INVALID implies not tuned in to anything.
|
// INVALID implies not tuned in to anything.
|
||||||
typedef enum atc_type {
|
enum atc_type {
|
||||||
INVALID,
|
INVALID,
|
||||||
ATIS,
|
ATIS,
|
||||||
GROUND,
|
GROUND,
|
||||||
|
|
|
@ -473,7 +473,7 @@ private:
|
||||||
class FGTextLayer : public FGInstrumentLayer
|
class FGTextLayer : public FGInstrumentLayer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef enum ChunkType {
|
enum ChunkType {
|
||||||
TEXT,
|
TEXT,
|
||||||
TEXT_VALUE,
|
TEXT_VALUE,
|
||||||
DOUBLE_VALUE
|
DOUBLE_VALUE
|
||||||
|
|
|
@ -5,9 +5,11 @@
|
||||||
|
|
||||||
#include "logger.hxx"
|
#include "logger.hxx"
|
||||||
|
|
||||||
#include <fstream>
|
#include STL_FSTREAM
|
||||||
|
#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
|
||||||
SG_USING_STD(ofstream);
|
SG_USING_STD(ofstream);
|
||||||
SG_USING_STD(endl);
|
SG_USING_STD(endl);
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
SG_USING_STD(string);
|
SG_USING_STD(string);
|
||||||
|
|
|
@ -19,8 +19,10 @@
|
||||||
#include <simgear/misc/exception.hxx>
|
#include <simgear/misc/exception.hxx>
|
||||||
#include <simgear/misc/props.hxx>
|
#include <simgear/misc/props.hxx>
|
||||||
|
|
||||||
|
#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
SG_USING_STD(ostream);
|
SG_USING_STD(ostream);
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
SG_USING_STD(vector);
|
SG_USING_STD(vector);
|
||||||
|
|
|
@ -52,7 +52,7 @@ HISTORY
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* DEFINES */
|
/* DEFINES */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
typedef enum SnowRainType
|
enum SnowRainType
|
||||||
{
|
{
|
||||||
Rain,
|
Rain,
|
||||||
Snow,
|
Snow,
|
||||||
|
|
Loading…
Add table
Reference in a new issue