Re: [Flightgear-devel] ver. 0.9.8 run-time error using VisualC++
Yep, that fixed it...thanks a lot. Drew On Wed, 2 Feb 2005 15:52:13 -0500, Vance Souders [EMAIL PROTECTED] wrote: I had the same problem; isspace was interpreting the copyright symbol as a negative number, raising the assert. I changed the calls to isspace(...) in strutils.cxx to ... std::isspace((unsigned char)str[i], std::locale()) ... You'll also need to include locale. -Vance -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Wednesday, February 02, 2005 3:29 PM To: FlightGear developers discussions Subject: [Flightgear-devel] ver. 0.9.8 run-time error using VisualC++ I compiled the version 0.9.8 release of flightgear using Fredric's project files, and I get the following error. Debug Assertion Failed! File: isctype.c Line: 68 Expression: (unsigned)(c + 1) = 256 A brief online search mentioned something along the lines of Windows' using a signed character type causing a problem. Any idea what can be causing this? I tried compiling the source without the _DEBUG preprocessor flag, but that didn't seem to change anything. I may not have done this correctly, though, as I'm new to Visual Studio. Thanks, Drew ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] ver. 0.9.8 run-time error using VisualC++
I compiled the version 0.9.8 release of flightgear using Fredric's project files, and I get the following error. Debug Assertion Failed! File: isctype.c Line: 68 Expression: (unsigned)(c + 1) = 256 A brief online search mentioned something along the lines of Windows' using a signed character type causing a problem. Any idea what can be causing this? I tried compiling the source without the _DEBUG preprocessor flag, but that didn't seem to change anything. I may not have done this correctly, though, as I'm new to Visual Studio. Thanks, Drew ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
RE: [Flightgear-devel] ver. 0.9.8 run-time error using VisualC++
I had the same problem; isspace was interpreting the copyright symbol as a negative number, raising the assert. I changed the calls to isspace(...) in strutils.cxx to ... std::isspace((unsigned char)str[i], std::locale()) ... You'll also need to include locale. -Vance -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Wednesday, February 02, 2005 3:29 PM To: FlightGear developers discussions Subject: [Flightgear-devel] ver. 0.9.8 run-time error using VisualC++ I compiled the version 0.9.8 release of flightgear using Fredric's project files, and I get the following error. Debug Assertion Failed! File: isctype.c Line: 68 Expression: (unsigned)(c + 1) = 256 A brief online search mentioned something along the lines of Windows' using a signed character type causing a problem. Any idea what can be causing this? I tried compiling the source without the _DEBUG preprocessor flag, but that didn't seem to change anything. I may not have done this correctly, though, as I'm new to Visual Studio. Thanks, Drew ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d