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/26542] bogus diagnostic with -pedantic?: format '%p'; expects type 'void*', but argument 2 has type 'A*'



------- 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 work this makes for people who try to keep their code pedantic-clean
against the risk that someday an architecture will come along where it matters.

Could we maybe delete this warning just until we have some reason to believe
that such an architecture is likely to exist someday, and then reinstate it?


-- 

jason dot orendorff at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason dot orendorff at gmail
                   |                            |dot com


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


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