Board index FlightGear Support Compiling

Strange warnings when building fgfs from git  Topic is solved

Building FlightGear from source, and in the need for help?

Strange warnings when building fgfs from git

Postby chris_blues » Wed Dec 24, 2014 9:10 pm

Hi there!

I just came across this, while compiling from git. I know, it's no big deal, and the build went through fine, but I thought I let you know, maybe this is a sign of sth bigger, maybe it's nothing... I don't know. :)
Aynway fgfs seems to work fine, besides the occasionally crashes - nothing out of the ordinary... :)

Building on Linux (Debian unstable 64), with the assistance of brisas script.
Code: Select all
Scanning dependencies of target fgfs
[ 47%] [ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/fg_init.cxx.o
Building CXX object src/Main/CMakeFiles/fgfs.dir/bootstrap.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/main.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/options.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/screensaver_control.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Instrumentation/mk_viii.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Instrumentation/tcas.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Navaids/routePath.cxx.o
[ 47%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Network/HTTPClient.cxx.o
/media/FG/git/flightgear/src/Navaids/routePath.cxx:639:21: warning: missing terminating " character
       P_0= 29.92126 "Hg = 1013.25 mB = 2116.2166 lbs/ft^2
                     ^
/media/FG/git/flightgear/src/Navaids/routePath.cxx: In member function ‘int RoutePath::RoutePathPrivate::findNextKnownAltitude(int) const’:
/media/FG/git/flightgear/src/Navaids/routePath.cxx:575:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (index >= waypoints.size()) {
               ^
/media/FG/git/flightgear/src/Navaids/routePath.cxx:591:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (index == waypoints.size() - 1) {
               ^
[ 48%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Network/igc.cxx.o
[ 48%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/Network/http/httpd.cxx.o
Linking CXX executable fgfs


Best wishes for the holidays to all of you!
chris
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1581
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64

Re: Strange warnings when building fgfs from git  

Postby Hooray » Sat Dec 27, 2014 8:29 am

he's using macros instead of comments, not critical - just annoying: https://gitorious.org/fg/flightgear/sou ... tePath.cxx

Feel free to leave a comment there linking to your thread here.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11949
Joined: Tue Mar 25, 2008 8:40 am

Re: Strange warnings when building fgfs from git

Postby chris_blues » Sun Dec 28, 2014 10:29 am

I would, if I would find sth like a comment function there... :roll:
Don't hesitate to let me know if I'm incorrect or just annoying! As long as you do it gently! :)
Debian stable 64bit - i7 8x2.8GHz - 20GB RAM - GeForce GTS 450
Citation II
User avatar
chris_blues
 
Posts: 1581
Joined: Mon May 03, 2010 1:30 pm
Location: claws of real life
Callsign: chris_blues
Version: GIT
OS: Debian stable 64


Return to Compiling

Who is online

Users browsing this forum: No registered users and 2 guests