Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-20 Thread Vivian Meazza
Alan, simgear-config.h cannot be used in SGMisc.cxx because it is called from fg as well as sg. SGMisc will not compile without NOMINMAX , so you need it in your pre-processor definitions. Unless you have a better way . The error you report is the very one that replacing the SGMathFwd.hxx

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-20 Thread Nicolas Quijano
That seems to have done the trick : edit props.hxx, not .cxx to use SGMath.hxx and defining #NOMINMAX at project level seems to work. More testing later, got to run. Thanks to Vivian and Tim for taking time to sort it out, Cheers, Nic On Mon, Jul 20, 2009 at 8:50 AM, Vivian Meazza

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-20 Thread Alan Teeder
Vivian I have managed a compile of Flightgear. Nic was correct, props .hxx, not props.cxx. Flightgear and Simgear both now have NOMINMAX in my pre-processor defines. Flightgear needed most of the new modules from simgear\scene\material to be added to Simgear library before it would link.

Re: [Flightgear-devel] [Simgear-cvslogs] CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Alan Teeder
-cvslogs] CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33 Alan Teeder RE: [Simgear-cvslogs] CVS: source/simgear/props props.cxx, 1.44,1.45 props.hxx, 1.32, 1.33 Sadly, props.hxx is still getting me errors with MSVC 2008 - see attached error log. -Original

Re: [Flightgear-devel] [Simgear-cvslogs] CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Arnt Karlsen
On Sun, 19 Jul 2009 09:27:57 +0100, Alan wrote in message 5fe353c04d92459a9dbf8d42d1b97...@ajtmain: Thanks for the quick reply, and best wishes with the solution. Why oh why are MS compliers so pernickety? ..business strategy: http://grokdoc.net/index.php/Dirty_Tricks_history#C.2B.2B

Re: [Flightgear-devel] [Simgear-cvslogs] CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Curtis Olson
On Sun, Jul 19, 2009 at 7:10 AM, Arnt Karlsen a...@c2i.net wrote: On Sun, 19 Jul 2009 09:27:57 +0100, Alan wrote in message 5fe353c04d92459a9dbf8d42d1b97...@ajtmain: Thanks for the quick reply, and best wishes with the solution. Why oh why are MS compliers so pernickety? ..business

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Alan Teeder
Olson [mailto:curtol...@gmail.com] Sent: 19 July 2009 15:30 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33 On Sun, Jul 19, 2009 at 7:10 AM, Arnt Karlsen a...@c2i.net wrote: On Sun, 19 Jul

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Nicolas Quijano
cl.exe which compiles C and C++ has nothing in common with the CLR compiler (.NET). Unrelated issues, and what Curtis said : a bit of perspective, gcc is NOT 100% compliant either. The issue has to do with standards compliance and C++ idioms, not MS business strategy Funny how any sense of

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Alan Teeder
Sorry folks, I seem to have started a flame war. This is not the right place. Alan _ From: Nicolas Quijano [mailto:nquij...@gmail.com] Sent: 19 July 2009 17:23 To: FlightGear developers discussions Subject: Re: [Flightgear-devel][Simgear-cvslogs]CVS:source/simgear/propsprops.cxx,

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Nicolas Quijano
Sorry about calling you clueless, btw, I mistakenly thought your post was from the same person who linked to the propaganda bullshit site on MS : I'm no fan of MS, but I'm tired of falsehoods being used to critique them. Especially as all those examples were null or so badly distorted to be

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Alan Teeder
No problems. My code-writing skills are even worse than they were when I retired. Once upon a time I thought that I had the hang of C++, but these days I think that I must have been mistaken. _ From: Nicolas Quijano [mailto:nquij...@gmail.com] Sent: 19 July 2009 17:44 To:

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Vivian Meazza
Alan, Tim's fixes are now in CVS although not quite finished: you might have to add NOMINMAX to your pre-processor definitions. I'd be interested to hear how you get on. Vivian -Original Message- From: Alan Teeder [mailto:ajtee...@v-twin.org.uk] Sent: 19 July 2009 17:52

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Vivian Meazza
And I forgot - you need to change #include simgear/math/SGMathFwd.hxx to #include simgear/math/SGMath.hxx in props.cxx -Original Message- From: Vivian Meazza [mailto:vivian.mea...@lineone.net] Sent: 19 July 2009 23:47 To: 'FlightGear developers discussions' Subject: Re:

Re: [Flightgear-devel] [Simgear-cvslogs]CVS:source/simgear/propsprops.cxx, 1.44, 1.45 props.hxx, 1.32, 1.33

2009-07-19 Thread Arnt Karlsen
On Sun, 19 Jul 2009 12:43:41 -0400, Nicolas wrote in message 808354800907190943ic2f7c59g389bedc9eb3f1...@mail.gmail.com: Sorry about calling you clueless, btw, I mistakenly thought your post was from the same person who linked to the propaganda bullshit site ..you refer to http://grokdoc.net/