delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/14/21:46:20

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fw: Possible GCC Bug
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <4uhffs0ig0dpmb9ufspa2btlehbooqfpn4@4ax.com>
References: <000f01bfa673$a9e573e0$0100a8c0 AT amanda>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 71
X-Trace: +SQ/lvZz6TaIoAxD0uTm7mEjJjUhbbrS12puunHKDtod7UA9s0iZDyA9U7s/kx+gbYT5/LmaCpaj!iJpUfSrQfZR26Iwlx0/moqY2gTaK20S1AxjELzTQ6t2R6357ubhCTD2Wqg2fTDjmaHjmIf8ZSEuW!szb1U7s=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 15 Apr 2000 01:39:05 GMT
Distribution: world
Date: Sat, 15 Apr 2000 01:39:06 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 15 Apr 2000 01:43:48 +0100, "Nick Fleming"
<marmalade AT x-stream DOT co DOT uk> wrote:

>
>----- Original Message ----- 
>From: Nick Fleming <marmalade AT x-stream DOT co DOT uk>
>To: <gnu AT prep DOT ai DOT mit DOT edu>
>Sent: Saturday, April 15, 2000 1:40 AM
>Subject: Possible GCC Bug
>
>
>> Sorry about this but..
>> 
>> I think I've found a tiny bug in GCC.
>> 
>> (Version 2.95.2 19991024 (release)
>> 
>> - while using djgpp's rhide program.
>> 
>> A snippet from my code :
>> 
>> 0xff, // 00000000  // [
>> 0x3c, // 00111100
>> 0x30, // 00110000
>> 0x30, // 00110000
>> 0x30, // 00110000
>> 0x30, // 00110000
>> 0x3c, // 00111100
>> 0xff, // 00000000
>> 
>> 0xff, // 00000000  // \
>> 0x60, // 01100000
>> 0x70, // 01110000
>> 0x38, // 00111000
>> 0x1c, // 00011100
>> 0x0e, // 00001110
>> 0x06, // 00000110
>> 0x00, // 00000000
>> 
>> 0xff, // 00000000  // ]
>> 0x3c, // 00111100
>> 0x0c, // 00001100
>> 0x0c, // 00001100
>> 0x0c, // 00001100
>> 0x0c, // 00001100
>> 0x3c, // 00111100
>> 0x00, // 00000000
>> 
>> In the above snippet of code, the second group of  bytes has a row missing when
>> compiled.. To correct it I have to write the first line as follows:
>> 
>> 0xff, // 00000000  // '\'

or 0xff, // 00000000  // \       [enter]
Make sure you put spaces after the \

>> I think gcc's scanner is interpreting the slash as a special character, rather
>> than just skipping it as it should as it is part of a single line comment.
>> 
>> Hope this is some use, if not please pass it on to
>> someone who needs to know this sort of thing.

news:gnu.gcc.bug

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019