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.
|
||||
// INVALID implies not tuned in to anything.
|
||||
typedef enum atc_type {
|
||||
enum atc_type {
|
||||
INVALID,
|
||||
ATIS,
|
||||
GROUND,
|
||||
|
|
|
@ -473,7 +473,7 @@ private:
|
|||
class FGTextLayer : public FGInstrumentLayer
|
||||
{
|
||||
public:
|
||||
typedef enum ChunkType {
|
||||
enum ChunkType {
|
||||
TEXT,
|
||||
TEXT_VALUE,
|
||||
DOUBLE_VALUE
|
||||
|
|
|
@ -5,9 +5,11 @@
|
|||
|
||||
#include "logger.hxx"
|
||||
|
||||
#include <fstream>
|
||||
#include STL_FSTREAM
|
||||
#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
|
||||
SG_USING_STD(ofstream);
|
||||
SG_USING_STD(endl);
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
SG_USING_STD(string);
|
||||
|
|
|
@ -19,8 +19,10 @@
|
|||
#include <simgear/misc/exception.hxx>
|
||||
#include <simgear/misc/props.hxx>
|
||||
|
||||
#ifndef SG_HAVE_NATIVE_SGI_COMPILERS
|
||||
#include <iostream>
|
||||
SG_USING_STD(ostream);
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
SG_USING_STD(vector);
|
||||
|
|
|
@ -52,7 +52,7 @@ HISTORY
|
|||
/****************************************************************************/
|
||||
/* DEFINES */
|
||||
/****************************************************************************/
|
||||
typedef enum SnowRainType
|
||||
enum SnowRainType
|
||||
{
|
||||
Rain,
|
||||
Snow,
|
||||
|
|
Loading…
Add table
Reference in a new issue