Re: assigning to const int via pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ian Lance Taylor <ian@xxxxxxxx> writes:
> ISO C99 6.7.3: "If an attempt is made to modify an object
> defined with a const-qualified type through use of an lvalue
> with non-const-qualified type, the behavior is undefined."

Thanks., that clarifies the confusion. :)

-- 
.O. A proud GNU user
..O http://www.joesteeve.tk/
OOO http://gnukid.5gigs.com/

Attachment: pgpvJK2Sxtdo5.pgp
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux