diff --git a/src/FDM/LaRCsimIC.hxx b/src/FDM/LaRCsimIC.hxx index d5a38870b..7f2bb0d85 100644 --- a/src/FDM/LaRCsimIC.hxx +++ b/src/FDM/LaRCsimIC.hxx @@ -44,8 +44,8 @@ CLASS DECLARATION #define DEFAULT_AGL_ALT 3.758099 #define DEFAULT_PITCH_ON_GROUND 0.0074002 -typedef enum lsspeedset { lssetvt, lssetvc, lssetve, lssetmach, lssetuvw, lssetned }; -typedef enum lsaltset { lssetasl, lssetagl }; +enum lsspeedset { lssetvt, lssetvc, lssetve, lssetmach, lssetuvw, lssetned }; +enum lsaltset { lssetasl, lssetagl }; class LaRCsimIC { diff --git a/src/Main/fg_io.cxx b/src/Main/fg_io.cxx index 9bfff40d2..d98cc0769 100644 --- a/src/Main/fg_io.cxx +++ b/src/Main/fg_io.cxx @@ -57,6 +57,7 @@ #include "globals.hxx" +SG_USING_NAMESPACE(std); SG_USING_STD(string); @@ -90,7 +91,7 @@ static FGProtocol *parse_port_config( const string& config ) FGATC610x *atc610x = new FGATC610x; io = atc610x; short_circuit = true; - std::cout << "here ..." << endl; + cout << "here ..." << endl; } else if ( protocol == "atlas" ) { FGAtlas *atlas = new FGAtlas; io = atlas; diff --git a/src/Network/garmin.cxx b/src/Network/garmin.cxx index 877baca1b..590a92fda 100644 --- a/src/Network/garmin.cxx +++ b/src/Network/garmin.cxx @@ -31,6 +31,7 @@ #include "garmin.hxx" +SG_USING_NAMESPACE(std); FGGarmin::FGGarmin() { } @@ -145,7 +146,7 @@ bool FGGarmin::gen_message() { garmin_sentence += rmz_sum; garmin_sentence += "\n"; - std::cout << garmin_sentence; + cout << garmin_sentence; length = garmin_sentence.length(); strncpy( buf, garmin_sentence.c_str(), length ); diff --git a/src/Network/nmea.cxx b/src/Network/nmea.cxx index 8bb63ee41..577e694cc 100644 --- a/src/Network/nmea.cxx +++ b/src/Network/nmea.cxx @@ -31,6 +31,8 @@ #include "nmea.hxx" +SG_USING_NAMESPACE(std); + FGNMEA::FGNMEA() { } @@ -145,7 +147,7 @@ bool FGNMEA::gen_message() { nmea_sentence += gga_sum; nmea_sentence += "\n"; - std::cout << nmea_sentence; + cout << nmea_sentence; length = nmea_sentence.length(); strncpy( buf, nmea_sentence.c_str(), length );