> Torsten Dreyer wrote:
> > Am 12.03.10 15:06, schrieb Alan Teeder:
> >>> From current CVS
> >>
> >> jsclient.cxx compilation with windows fails at line 108
> >>    int32_t *msg = (int32_t *)buf;
> >>
> >> Solution seems easy - just add
> >>                  typedef int       int32_t;
> >
> > Probably not on 64bit. Maybe something like (untested)
> > #ifdef MSVC
> > typedef __int32 int32_t;
> > #endif
> >
> > if it doesn't exist in some #include. I have no Windows to test, sorry
> 
> You probably want to include <simgear/misc/stdint.hxx> instead
Alan, could you check if this patch solves your issue?
Index: jsclient.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Network/jsclient.cxx,v
retrieving revision 1.6
diff -u -p -r1.6 jsclient.cxx
--- jsclient.cxx        10 Mar 2010 08:33:10 -0000      1.6
+++ jsclient.cxx        12 Mar 2010 15:35:09 -0000
@@ -27,6 +27,7 @@

 #include <simgear/debug/logstream.hxx>
 #include <simgear/io/iochannel.hxx>
+#include <simgear/misc/stdint.hxx>

 #include <Aircraft/aircraft.hxx>
 #include <Main/fg_props.hxx>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to