--- Comment #9 from jason dot orendorff at gmail dot com 2009-02-10 22:22
---
Please consider reopening this bug.
I appreciate that the relevant standards don't guarantee this idiom will always
work. On the other hand, this warning is in practice only a nuisance. Balance
the real
--- Comment #7 from vz-gcc at zeitlins dot org 2006-12-08 11:07 ---
Just for my personal education, could you please tell which target(s) pass
char * differently from void * in this context?
Thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542
On Fri, 2006-12-08 at 11:07 +, vz-gcc at zeitlins dot org wrote:
Just for my personal education, could you please tell which target(s)
pass
char * differently from void * in this context?
A made up target (at least for now). :)
-- Pinski
--- Comment #8 from pinskia at gmail dot com 2006-12-08 18:17 ---
Subject: Re: bogus diagnostic with -pedantic?: format '%p';
expects type 'void*', but argument 2 has type 'A*'
On Fri, 2006-12-08 at 11:07 +, vz-gcc at zeitlins dot org wrote:
Just for my personal
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-12-08 04:37 ---
I'd like to (probably uselessly but still) argue for reopening this bug and
removing this warning. The interpretation of the standard text is open to
questions: IMHO an A * pointer is a pointer to void, too, as
--- Comment #4 from vz-gcc at zeitlins dot org 2006-07-24 17:02 ---
I'd like to (probably uselessly but still) argue for reopening this bug and
removing this warning. The interpretation of the standard text is open to
questions: IMHO an A * pointer is a pointer to void, too, as any
--- Comment #5 from pluto at agmk dot net 2006-07-24 17:16 ---
*** Bug 28459 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-03 11:50 ---
Indeed. Not exactly useful.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-03 12:45 ---
Actually the C standard says void* only. I don't see the issue here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26542
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-03 14:07 ---
This is actually expected. From the C standard:
p The argument shall be a pointer to void. The value of the pointer is
converted to a sequence of printing characters, in an implementation-defined
manner.
--
10 matches
Mail list logo