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]

Re: 3.0: Troubling warning in dwarf2out.c


> 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


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