X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Martin Str|mberg Newsgroups: comp.os.msdos.djgpp Subject: Re: General Protection Fault error is intermittent Date: Tue, 25 Jun 2013 08:37:31 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 26 Message-ID: References: <36e857f0-9899-496b-9fc6-32251e109888 AT googlegroups DOT com> <858cbded-7989-46e6-a997-93f842cdb3b0 AT googlegroups DOT com> <020e0244-406c-4c1f-9dbc-d82a0fae976f AT googlegroups DOT com> NNTP-Posting-Host: ftvAZcRvOze4hbePWaim7g.user.speranza.aioe.org X-Complaints-To: abuse AT aioe DOT org User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.9 (sun4u)) X-Notice: Filtered by postfilter v. 0.8.2 Bytes: 1755 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com K.J.Williams wrote: > BTW, I found another bug with DJGPP > if you have program that just uses : > > #include > #include > ...and you use a function from ctype.h - as I did with isspace(), > without including ctype.h in your includes ... DJGPP/GCC will NOT > complain about it > and will still compile it. I just discovered it and made the correction > to add #include to save myself from future headaches. Strange. My very old installation of DJGPP do complain. > ...Secondly, I found this strange, but some how the ANSI C or C++ > standard doesn't consider the escape sequence '\b' (for backspace) as > a white-space character when I use isspace() to check individual > characters in a c-string. Why should it? That is a control character, AFAIK. -- MartinS