🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15011

Re: Struct/Union avec les memes champs

#15011
From: Harpo
Date: Wed, 19 Oct 2005 13:26
12 lines
1315 bytes
Marc Boyer wrote:

> 
>   Ca, c'est une vieille m�fiance qui me vient de:
> unsigned u;
> assert( u >= 0 ); // UB

Ah bon ???
Il fallait �crire :
assert( (signed u) >= -0  || (signed u) <= +0 ); // !! ??
Pour plus de suret� ?
C'est dingue !
Technical Details
Message-ID: <435649a0$0$27408$8fcfb975@news.wanadoo.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fdn.fr!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
References: <slrndlbo6u.9sr.Marc.Boyer@localhost.localdomain> <4355f8d5$0$623$626a14ce@news.free.fr> <slrndlcdoq.a9d.Marc.Boyer@localhost.localdomain> <435642fd$0$21309$626a54ce@news.free.fr> <slrndlch52.a9d.Marc.Boyer@localhost.localdomain>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,eb7f26af12505976
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fdn.fr!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail
Message-ID: <435649a0$0$27408$8fcfb975@news.wanadoo.fr>
From: Harpo <trashcan@hotmail.com>
Subject: Re: Struct/Union avec les memes champs
Newsgroups: fr.comp.lang.c
Date: Wed, 19 Oct 2005 15:26:54 +0200
References: <slrndlbo6u.9sr.Marc.Boyer@localhost.localdomain> <4355f8d5$0$623$626a14ce@news.free.fr> <slrndlcdoq.a9d.Marc.Boyer@localhost.localdomain> <435642fd$0$21309$626a54ce@news.free.fr> <slrndlch52.a9d.Marc.Boyer@localhost.localdomain>
Organization: ARG ; Association pour la Rehabilitation du Goto
User-Agent: KNode/0.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
Lines: 12
NNTP-Posting-Date: 19 Oct 2005 15:26:56 CEST
NNTP-Posting-Host: 86.195.226.91
X-Trace: 1129728416 news.wanadoo.fr 27408 86.195.226.91:32907
X-Complaints-To: abuse@wanadoo.fr