Re: INT_MIN and compiler diagnostic



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...)
.


Quantcast