Re: const void* and goto *expr

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

 



2008/6/27 Eus <eus@xxxxxxxxxxxxxx>:

> Yes, it is intended. But, neither the doc nor GCC has a bug.
> Why? Because the goto operator can be considered as the following function:
> void goto(const void *ptr);

Right. This in retrospect is obvious.

> I guess Intel folks walked the wrong path of not knowing that `const void *' is the superset of `void *'.

Well, the doc can be read as impling goto(void *ptr). In any case, I
will file a bug for ICC.

Regards, Igor

[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