This is the mail archive of the gcc-bugs@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]

[Bug c/17654] Pointless warning on incompatible pointer types


------- Additional Comments From jsm at polyomino dot org dot uk  2004-09-27 15:32 -------
Subject: Re:  Pointless warning on incompatible pointer types

On Mon, 27 Sep 2004, jbeulich at novell dot com wrote:

> Thus I continue to believe that this is an omission on the part of the standard,
> and would hence want to see gcc provide at least an optional way to circumvent
> this problem.

That way at present is to use the C++ compiler, if you want the C++ 
const-correctness rules.  Such a change was proposed for C99 in 
<http://www.open-std.org/JTC1/SC22/WG14/www/docs/n754.htm>.  I do not know 
why it was not adopted although the impression I get is that it was 
proposed too late in the process and there wasn't enough time at the 
relevant meeting.  I would suggest it might be worth proposing such a 
change again when features for C1x are under consideration in some years' 
time; C++ provides the prior art.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17654


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