This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: stdio vs. diag_printf



> > I'll have to look up the gnu cpp extensions to see if there's a
> > way to do
> > 
> >#define define printf(vararg_list) daig_printf(vararg_list)
>
> You chould be able to get away with:
> 
> #include <cyg/infra/diag.h>
> #define printf diag_printf

Doh!  Of course.  Got caught up looking for a complex solution
to a simple problem.

-- 
Grant Edwards
grante@visi.com

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