🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6338

Re: GCC's '+' bug?

#6338
From: Christophe Martin
Date: Thu, 21 Dec 1995 00:00
18 lines
996 bytes
den@iis.nsk.su (Denis Altudov) wrote:
>Hi there,
>i don't know wheither this is a bug or not, but the following
>-----------------
>main(){
>  int i=0xbe+1;
>}
>-----------------
>can not be compiled with many GCC's versions, particulary Linux' 2.7.0 and
>HP-UX's 2.6.3. GCC says 'garbage at the end of number' and stops woking.

Hi

I tried it on a sun under Solaris 2.5 with gcc 2.5.6 and I got the same
error message. Then I tried with a space between 'e' and '+' and it worked.

Hope this helps.
Christophe
Technical Details
Message-ID: <4b9inj$jbi@ccpnws.in2p3.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <199512090440.KAA02461@scnet.nsk.su>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,36ac7c75878bf440,start
X-Google-Attributes: gid113d02,public
From: cmartin@ccpnws.IN2p3.FR.IN2p3.FR (Christophe Martin)
Subject: Re: GCC's '+' bug?
Date: 1995/12/21
Message-ID: <4b9inj$jbi@ccpnws.in2p3.fr>
X-Deja-AN: 122498328
distribution: gnu
sender: daemon@cis.ohio-state.edu
references: <199512090440.KAA02461@scnet.nsk.su>
organization: Centre de Calcul In2p3
newsgroups: gnu.gcc.bug