]> git.mxchange.org Git - flightgear.git/commitdiff
Tweaks for compiling with native SGI compilers.
authorcurt <curt>
Tue, 2 Mar 1999 01:01:42 +0000 (01:01 +0000)
committercurt <curt>
Tue, 2 Mar 1999 01:01:42 +0000 (01:01 +0000)
Bucket/bucketutils.hxx
Bucket/newbucket.hxx
Debug/logstream.hxx
Math/fg_geodesy.cxx
Math/interpolater.hxx
Math/point3d.hxx
Misc/fgstream.hxx
Misc/strutils.hxx
Serial/serial.hxx

index 852b8af7aa6e64ed110f5c8800f5ec07f4066881..b363a98e3ddf42b3d0b7fb6b13170a7466c16d13 100644 (file)
 #ifndef _BUCKETUTILS_HXX
 #define _BUCKETUTILS_HXX
 
-#include <string>
+#include <Include/compiler.h>
 
-FG_USING_NAMESPACE(std);
+#include STL_STRING
 
 #include "bucketutils.h"
 
-#include <Include/compiler.h>
 FG_USING_STD(string);
 
 inline bool
@@ -71,6 +70,9 @@ operator<< ( ostream& out, const fgBUCKET& b )
 
 
 // $Log$
+// Revision 1.3  1999/03/02 01:01:42  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.2  1999/01/19 20:56:53  curt
 // MacOS portability changes contributed by "Robert Puyol" <puyol@abvent.fr>
 //
index 9d74815e7ab5c51b6f4bd109a8d4f5df026a00a5..b6cd70185252508665253cffd09bcce74fd32dc8 100644 (file)
@@ -32,7 +32,6 @@
 #include STL_STRING
 
 FG_USING_STD(string);
-FG_USING_NAMESPACE(std);
 
 #include <stdio.h> // sprintf()
 
@@ -290,6 +289,9 @@ fgBucketGenIndex( const fgBUCKET& p )
 
 
 // $Log$
+// Revision 1.4  1999/03/02 01:01:43  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.3  1999/02/26 22:07:55  curt
 // Added initial support for native SGI compilers.
 //
index 5f93b5199d96bd792a55c4b12903434b47c7219e..f79f1b88ac409464d689ba397ddd21235e574efc 100644 (file)
 #endif
 
 
-#include "Include/compiler.h"
+#include <Include/compiler.h>
 
 #ifdef FG_HAVE_STD_INCLUDES
 # include <streambuf>
 # include <iostream>
-//# include <ostream>
 #else
 # include <iostream.h>
 # include "Include/fg_traits.hxx"
 
 #include "debug_types.h"
 
+#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
 FG_USING_STD(streambuf);
 FG_USING_STD(ostream);
 FG_USING_STD(cerr);
 FG_USING_STD(endl);
+#endif
 
 //
 // TODO:
@@ -211,6 +212,9 @@ fglog()
 #endif // _LOGSTREAM_H
 
 // $Log$
+// Revision 1.4  1999/03/02 01:01:47  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.3  1999/01/19 20:53:35  curt
 // Portability updates by Bernie Bright.
 //
index d53689e480a98b26566db66f69a1f94e770e038c..af10c101365b24c0a449795a0bd5f77bccabc307 100644 (file)
@@ -21,7 +21,9 @@
 #include <Math/fg_geodesy.hxx>
 #include <Math/point3d.hxx>
 
+#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
 FG_USING_STD(cout);
+#endif
 
 // ONE_SECOND is pi/180/60/60, or about 100 feet at earths' equator
 #define ONE_SECOND 4.848136811E-6
@@ -162,6 +164,9 @@ void fgGeodToGeoc( double lat_geod, double alt, double *sl_radius,
 
 $Header$
 $Log$
+Revision 1.6  1999/03/02 01:01:49  curt
+Tweaks for compiling with native SGI compilers.
+
 Revision 1.5  1999/01/27 04:46:14  curt
 Portability tweaks by Bernie Bright.
 
@@ -251,6 +256,9 @@ Initial Flight Gear revision.
 
 
 // $Log$
+// Revision 1.6  1999/03/02 01:01:49  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.5  1999/01/27 04:46:14  curt
 // Portability tweaks by Bernie Bright.
 //
index 2ecdfa6e4b521ad592437248e156fa354c5e798e..4260ba485123efb854f1df896c963406be9f9de0 100644 (file)
 #include STL_STRING
 FG_USING_STD(string);
 
-#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
-FG_USING_NAMESPACE(std);
-#endif
-
 #define MAX_TABLE_SIZE 32
 
 
@@ -66,6 +62,9 @@ public:
 
 
 // $Log$
+// Revision 1.6  1999/03/02 01:01:50  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.5  1999/02/26 22:08:05  curt
 // Added initial support for native SGI compilers.
 //
index ec0e51dfe67769a81d04956b51e723f3ac71e1b0..9752707797dec38fea62447dd5416e9fdb439647 100644 (file)
 # include <math.h>
 #endif
 
+#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
 FG_USING_STD(ostream);
 FG_USING_STD(istream);
+#endif
 
 // -rp- assert.h is buggy under MWCWP3, as multiple #include undef assert !
 #ifdef __MWERKS__
@@ -335,6 +337,9 @@ Point3D::distance3Dsquared(const Point3D& a ) const
 
 
 // $Log$
+// Revision 1.10  1999/03/02 01:01:52  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.9  1999/02/01 21:08:28  curt
 // Optimizations from Norman Vine.
 //
index 5b3236c074fd80a95c70d79ff73164b982f7dcb7..85c2be9d85509e2b28913f96d68b556562cd74e2 100644 (file)
 #include "zfstream.hxx"
 
 FG_USING_STD(string);
-FG_USING_STD(istream);
 
-#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
-FG_USING_NAMESPACE(std);
+#ifndef FG_HAVE_NATIVE_SGI_COMPILERS
+FG_USING_STD(istream);
 #endif
 
 
@@ -99,6 +98,9 @@ istream& skipcomment( istream& in );
 #endif /* _FGSTREAM_HXX */
 
 // $Log$
+// Revision 1.8  1999/03/02 01:01:55  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.7  1999/02/26 22:08:08  curt
 // Added initial support for native SGI compilers.
 //
index 6386f2ac78ea3e8f8136bdbada3143cf03fdbe0c..b2c47a775bafc5a6c063d2ff1b2623b888c732d7 100644 (file)
 
 FG_USING_STD(string);
 
-#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
-FG_USING_NAMESPACE(std);
-#endif
-
 // Default characters to remove.
 extern const string whitespace;
 
@@ -68,6 +64,9 @@ atoi( const string& str )
 #endif // STRUTILS_H
 
 // $Log$
+// Revision 1.6  1999/03/02 01:01:56  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.5  1999/02/26 22:08:09  curt
 // Added initial support for native SGI compilers.
 //
index 470e6ed538a462629aa9f3f9424f1813c58c944e..3b2c60b68b4274a1302361a137060e3ca8167aaa 100644 (file)
 #include STL_STRING
 FG_USING_STD(string);
 
-#ifdef FG_HAVE_NATIVE_SGI_COMPILERS
-FG_USING_NAMESPACE(std);
-#endif
-
-
 // if someone know how to do this all with C++ streams let me know
 // #include <stdio.h>
 
@@ -85,6 +80,9 @@ public:
 
 
 // $Log$
+// Revision 1.5  1999/03/02 01:01:58  curt
+// Tweaks for compiling with native SGI compilers.
+//
 // Revision 1.4  1999/02/26 22:08:13  curt
 // Added initial support for native SGI compilers.
 //