This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch
- To: geoffk at redhat dot com, ghazi at caip dot rutgers dot edu
- Subject: Re: "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch
- From: dewar at gnat dot com
- Date: Sat, 13 Jan 2001 08:12:36 -0500 (EST)
- Cc: aj at suse dot de, dewar at gnat dot com, dkorn at pixelpower dot com,gcc at gcc dot gnu dot org, jsm28 at cam dot ac dot uk, robertlipe at usa dot net
<<* On systems where %p isn't supported, the backup method for printing
pointers using appropriate sized integer specifiers always causes
-Wformat warnings. I don't think this one has a solution.
>>
Yes, it does, you can always get the effect of a warning free cast by
casting pointers to two objects. So you can cast a pointer to the
pointer to a pointer to int, and then print the contents of this pointer
in the proper format.