This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to type-pun and why


On Mon, 12 Jun 2006, Perry Smith wrote:

| Could he add a "volatile" keyword to fix it (from the standard point
| of view)?

I don't see how the standard guarantees that "volatile" will make it
work.

In general, when there is a type rule violation, "volatile" isn't the
answer.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]