Fixed namespace bugs that kept G++ 3.0 from compiling (mostly improper
use of namespaces with cout/cerr/endl).
This commit is contained in:
parent
750437b242
commit
5c19f61da1
12 changed files with 69 additions and 0 deletions
|
@ -36,6 +36,11 @@
|
|||
#include <list>
|
||||
#include STL_STRING
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <plib/sg.h> // plib include
|
||||
|
||||
#include <simgear/constants.h>
|
||||
|
|
|
@ -26,12 +26,16 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
#include <simgear/constants.h>
|
||||
|
||||
SG_USING_STD(less);
|
||||
SG_USING_STD(map);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <simgear/constants.h>
|
||||
|
||||
|
|
|
@ -33,6 +33,11 @@
|
|||
#endif
|
||||
|
||||
#include <list>
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include STL_STRING
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
//
|
||||
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <simgear/math/sg_geodesy.hxx>
|
||||
|
|
|
@ -21,9 +21,15 @@
|
|||
// $Id$
|
||||
//
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <simgear/constants.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include "global.hxx"
|
||||
#include "poly_extra.hxx"
|
||||
#include "rwy_common.hxx"
|
||||
|
|
|
@ -21,6 +21,13 @@
|
|||
// $Id$
|
||||
//
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
|
||||
#include "rwy_common.hxx"
|
||||
#include "rwy_nonprec.hxx"
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
// $Id$
|
||||
//
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include "rwy_common.hxx"
|
||||
#include "rwy_nonprec.hxx"
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
//
|
||||
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <simgear/constants.h>
|
||||
|
||||
#include "poly_extra.hxx"
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
//
|
||||
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include "rwy_common.hxx"
|
||||
#include "rwy_visual.hxx"
|
||||
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
//
|
||||
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <iostream>
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(cerr);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <simgear/constants.h>
|
||||
|
||||
#include "poly_extra.hxx"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
.deps
|
||||
Makefile
|
||||
Makefile.in
|
||||
findcorners
|
||||
photo
|
||||
wgs84offset
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
// find (lat/lon) of each corner of an image
|
||||
|
||||
#include <simgear/compiler.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
SG_USING_STD(cout);
|
||||
SG_USING_STD(endl);
|
||||
|
||||
#include <simgear/math/sg_geodesy.hxx>
|
||||
|
||||
int main( int argc, char **argv ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue