Re: [Flightgear-devel] Cygwin build problem with sprintf
Jon Berndt writes: > > This seems to clear things up > > > > Norman > > It did. Yee-haw! > > I'll commit this fix to JSBSim CVS. Jon, Since you want JSBSim to run stand-alone as well as integrated into FGFS please give some consideration to adopting the SimGear "compiler.h" file as a common include to resolve these issues #ifdef FGFS #include http://mail.flightgear.org/mailman/listinfo/flightgear-devel
RE: [Flightgear-devel] Cygwin build problem with sprintf
> This seems to clear things up > > Norman It did. Yee-haw! I'll commit this fix to JSBSim CVS. Jon smime.p7s Description: application/pkcs7-signature
RE: [Flightgear-devel] Cygwin build problem with sprintf
Has this made it to CVS? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael > Basler > Sent: Tuesday, November 19, 2002 3:18 AM > To: [EMAIL PROTECTED] > Subject: RE: [Flightgear-devel] Cygwin build problem with sprintf > > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Curtis L. > > Olson > > > > To Norman: Good fix. > > Can we have this patch in the CVS? It still refuses to build under Cygwin. > > Thanks and > Regards, Michael > > -- > Michael Basler, Jena, Germany > [EMAIL PROTECTED] > http://www.geocities.com/pmb.geo/ > > > ___ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > smime.p7s Description: application/pkcs7-signature
RE: [Flightgear-devel] Cygwin build problem with sprintf
> [mailto:[EMAIL PROTECTED]]On Behalf Of Curtis L. > Olson > > To Norman: Good fix. Can we have this patch in the CVS? It still refuses to build under Cygwin. Thanks and Regards, Michael -- Michael Basler, Jena, Germany [EMAIL PROTECTED] http://www.geocities.com/pmb.geo/ ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin build problem with sprintf
[EMAIL PROTECTED] writes: > Norman Vine wote: > > > > > > ! #ifdef _WIN32 > > #define snprintf _snprintf > > #endif > > > > --- 66,72 > > > > ! #if defined(_WIN32) && !defined(__CYGWIN__) > > #define snprintf _snprintf > > #endif > > To Norman: Good fix. > > To Curt (etc.): Shouldn't this go in instead of > in every source file that uses it? I thought it already was there ... Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities[EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin build problem with sprintf
Norman Vine wote: > > > ! #ifdef _WIN32 > #define snprintf _snprintf > #endif > > --- 66,72 > > ! #if defined(_WIN32) && !defined(__CYGWIN__) > #define snprintf _snprintf > #endif To Norman: Good fix. To Curt (etc.): Shouldn't this go in instead of in every source file that uses it? - Julian ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Cygwin build problem with sprintf
Jon Berndt writes: > Here's the sprintf problem again in a recent build attempt for > fg_init.cxx. Is there a fix for this for CygWin? > > Jon > > > > g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/us > r/local/include -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -c -o fg_init.o > `test -f 'fg_init.cxx' || echo './'`fg_init.cxx > fg_init.cxx: In function `bool fgSetPosFromAirportIDandRwy(const string &, > const string &)': > fg_init.cxx:823: implicit declaration of function `int _snprintf(...)' > make[2]: *** [fg_init.o] Error 1 > This seems to clear things up Norman $ cvs diff -c FGTrim.h 2>&1 | tee diffs Index: FGTrim.h === RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/FDM/JSBSim/FGTrim.h,v retrieving revision 1.2 diff -c -r1.2 FGTrim.h *** FGTrim.h22 Sep 2002 15:31:09 - 1.2 --- FGTrim.h18 Nov 2002 14:06:56 - *** *** 66,72 tCustom, tNone, tTurn } TrimMode; ! #ifdef _WIN32 #define snprintf _snprintf #endif --- 66,72 tCustom, tNone, tTurn } TrimMode; ! #if defined(_WIN32) && !defined(__CYGWIN__) #define snprintf _snprintf #endif ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel