[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cflow Problem



On Fri, Jan 05, 2007 at 10:27:08AM -0400, Felipe Balbi wrote:
> I've found out that cflow doesn't work fine with #ifdefs, it complains
> about function redefinitions.
> 
> Does anybody knows how to ignore this problem or how to fix it??
> Or even another tool to do it??

Run the code through the C preprocessor (gcc -E) before you feed it to
cflow.


Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/