On Mon, 24 Nov 2003, Jon Stockill wrote:

> On Mon, 24 Nov 2003, David Luff wrote:
>
> > I've put another new version up at:
>
> I didn't even get chance to compile the last one!

This one doesn't seem to want to compile though - I just checked 0.0.3
just to make sure I'd not broken something on my system and that compiled
ok - I get this with 0.0.4 though:

g++ -c `wx-config --cflags` -g -Wall TaxiDrawCanvas.cpp
In file included from /usr/include/c++/3.2.3/backward/iostream.h:31,
                 from point3d.h:44,
                 from airport.h:16,
                 from TaxiDrawCanvas.h:3,
                 from TaxiDrawCanvas.cpp:3:
/usr/include/c++/3.2.3/backward/backward_warning.h:32:2: warning: #warning This file 
includes at least one deprecated or antiquated header. Please consider using one of 
the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include 
substituting the <X> header for the <X.h> header for C++ includes, or <sstream> 
instead of the deprecated header <strstream.h>. To disable this warning use 
-Wno-deprecated.
In file included from TaxiDrawCanvas.h:3,
                 from TaxiDrawCanvas.cpp:3:
airport.h:164:25: warning: no newline at end of file
In file included from TaxiDrawCanvas.cpp:3:
TaxiDrawCanvas.h:80:3: warning: no newline at end of file
TaxiDrawCanvas.cpp: In member function `void TDCanvas::OnKeyDown(wxKeyEvent&)':
TaxiDrawCanvas.cpp:68: warning: unused variable `char buf[20]'
TaxiDrawCanvas.cpp: In member function `void
   TDCanvas::OnLeftButtonDown(wxMouseEvent&)':
TaxiDrawCanvas.cpp:246: warning: unused variable `node*nptr'
TaxiDrawCanvas.cpp: In member function `void
   TDCanvas::OnMouseMove(wxMouseEvent&)':
TaxiDrawCanvas.cpp:294: warning: unused variable `wxRect my_rect'
TaxiDrawCanvas.cpp: In member function `void
   TDCanvas::OnLeftButtonUp(wxMouseEvent&)':
TaxiDrawCanvas.cpp:313: warning: passing NULL used for non-pointer argument 1
   of `wxCursor::wxCursor(int)'
TaxiDrawCanvas.cpp: In member function `bool TDCanvas::OnTwyCorner(wxPoint,
   Taxiway*, double)':
TaxiDrawCanvas.cpp:426: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:427: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:433: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:434: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:439: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:440: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:445: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp:446: call of overloaded `fabs(int)' is ambiguous
/usr/include/bits/mathcalls.h:182: candidates are: double fabs(double)
/usr/include/c++/3.2.3/cmath:243:                 long double std::fabs(long
   double)
/usr/include/c++/3.2.3/cmath:239:                 float std::fabs(float)
TaxiDrawCanvas.cpp: In member function `void TDCanvas::OnPaint(wxPaintEvent&)':
TaxiDrawCanvas.cpp:483: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:483: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:484: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:484: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:499: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:499: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:500: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:500: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:523: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:523: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:524: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:524: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:539: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:539: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:540: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:540: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:555: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:555: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:556: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:556: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:571: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:571: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:572: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:572: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp: In member function `wxPoint
   TDCanvas::XYToViewPoint(Point3D)':
TaxiDrawCanvas.cpp:663: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:663: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:664: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:664: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:668: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:668: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:669: warning: assignment to `int' from `double'
TaxiDrawCanvas.cpp:669: warning: argument to `int' from `double'
TaxiDrawCanvas.cpp:733:2: warning: no newline at end of file
make: *** [TaxiDrawCanvas.o] Error 1

-- 
Jon Stockill
[EMAIL PROTECTED]

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to