Re: INT_MIN and compiler diagnostic
- From: Nelu <spamahead@xxxxxxxxx>
- Date: Wed, 28 Feb 2007 10:41:43 -0500
Richard Heathfield wrote:
*** T. Winter said:
<snip>
There are no negative constants in C.
"No" is a counter-example.
It's a string literal. Attempting to modify it may succeed (UB).
It will compile fine so it's not a good example, right? :-)
--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
.
- References:
- Re: INT_MIN and compiler diagnostic
- From: bytebro
- Re: INT_MIN and compiler diagnostic
- From: pete
- Re: INT_MIN and compiler diagnostic
- From: bytebro
- Re: INT_MIN and compiler diagnostic
- From: *** T. Winter
- Re: INT_MIN and compiler diagnostic
- From: Richard Heathfield
- Re: INT_MIN and compiler diagnostic
- Prev by Date: Re: INT_MIN and compiler diagnostic
- Next by Date: Re: INT_MIN and compiler diagnostic
- Previous by thread: Re: INT_MIN and compiler diagnostic
- Next by thread: Re: INT_MIN and compiler diagnostic
- Index(es):