I have encountered a little compilation error when trying to build FGRUN from
SVN with the current Simgear from GIT
The problem is that when detecting a "locale" path some arguments can be passed
to SGPath without being first properly cast.
I have attached a little fix that seems to work for me
Ciao,
Alessandro
Index: fgrun/src/main.cxx
===================================================================
--- fgrun/src/main.cxx (revision 642)
+++ fgrun/src/main.cxx (working copy)
@@ -106,12 +106,12 @@
get_locale_directory( const char *argv0 )
{
#ifdef LOCALEDIR
- SGPath localedir = LOCALEDIR;
+ SGPath localedir = (SGPath)LOCALEDIR;
if (localedir.exists())
return localedir.str();
#endif
- SGPath path = argv0;
+ SGPath path = (SGPath)argv0;
path = path.dir();
if (path.file() == "bin")
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel