Undefined behavior in genautomata.c?
Dave Korn
dave.korn@artimi.com
Mon Sep 19 14:10:00 GMT 2005
----Original Message----
>From: gdr@integrable-solutions.net
>Sent: 19 September 2005 14:01
> "Dave Korn" <dave.korn@artimi.com> writes:
>
> [...]
>
>> I've seen this trick used again and again and again, and *I* haven't
>> _ever_ seen anyone use anything except an array size of [1] in this
>> place.
>
> [...]
>
>> Have you?
>
> Yes. It wasn't attempt at pedantism.
>
> -- Gaby
Nono, I didn't assume so, I just wanted to be sure we weren't talking at
cross purposes. And yes, now you mention it, your example of using a char
array sized by sizeof() the objects that are going to be written of it is
something I've seen before. In fact, I think I've even done it myself!
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Gcc
mailing list