This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0: Troubling warning in dwarf2out.c
- To: jason_merrill at redhat dot com (Jason Merrill)
- Subject: Re: 3.0: Troubling warning in dwarf2out.c
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Sat, 19 May 2001 13:37:45 -0500 (EST)
- Cc: mark at codesourcery dot com (Mark Mitchell), lucier at math dot purdue dot edu, jsm28 at cam dot ac dot uk, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
> Jason Merill:
> > Mark Mitchell:
> >>>>> "Jason" == Jason Merrill <jason_merrill@redhat.com> writes:
> Jason> Wouldn't it make sense for the definition of
> Jason> ASM_OUTPUT_INTERNAL_LABEL to simply cast "num" to the
> Jason> appropriate type if it wants to use fprintf?
>
> > It would be better if we would treat these macros like functions, and
> > specify their types.
>
> Yep, that's basically what I was saying.
OK, so what should the type of ASM_OUTPUT_INTERNAL_LABEL be? I suggest
the equivalent of
void ASM_OUTPUT_INTERNAL_LABEL(FILE *, const char *, int);
But I don't really care, I'd just like to get this type mismatch in
fprintf cleared up.
Brad