9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] c code differencing
@ 2011-08-31 13:01 Steve Simon
  2011-08-31 14:01 ` Rodolfo kix Garcia
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Steve Simon @ 2011-08-31 13:01 UTC (permalink / raw)
  To: 9fans

Anyone have any pointers to a diff for C code.

I have two libraries, A and B.

B is and expanded and modified version of A and I have been
asked to extract A from B to build two libraries one
built on top of the other.

What I think I need is a program which parses C and will
do diffs at the level of functions, globals , #defines and enums.

it would ideally have two input files and generate two outputs
one output being the common code, one with the extensions on the common.

I don't expect this to be fully automated, there is going to be a load
of hand edition before I am done, but is there somthing which can do
the easy stuff for me?

-Steve



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-03 12:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 13:01 [9fans] c code differencing Steve Simon
2011-08-31 14:01 ` Rodolfo kix Garcia
2011-09-01 13:16 ` Ethan Grammatikidis
2011-09-01 14:33 ` FENG Yu Ning
2011-09-01 14:51 ` Anthony Sorace
2011-09-01 14:59   ` Anthony Sorace
2011-09-03 12:17 ` Comeau At9Fans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).