[Magic-dev] 7.1 update in CVS

David Fang fang at csl.cornell.edu
Tue Feb 7 23:08:44 EST 2006


Hi all,

	For those of you feeling the nostaligia for 7.1, now would be a
good time to checkout and rebuild our old friend, and give it a test
drive.  I've finally merged in cleanups for magic-7.1 into the CVS HEAD.
No functional code changes were introduced, but with this revision, it
should be more compilable with the newer, stricter compilers, especially
gcc-3.3 to 4.0.

	Revisions also include:
	Proper forward declarations for many headers, and new headers.
	Standalone headers -- for development sanity.
		No more #ifndef _MAGIC error messages.
	Proper prototypes for nearly every extern referenced function.
		(None of the "#define Void int" nonsense.)
	More consistent format string to argument usage.
	No more tokens at the end of preprocesing directives.
	varargs.h replaced with stdarg.h (good riddance)
	Some deprecated functions replaced with equivalents.
	Minor Makefile enhancements, such as optional program-suffix.
	Warning count from 8000+ to < 80.
	You can read more about it in the new ChangeLog!

I've only validated this against {FreBSD 4.3, Mac OS X 10.3, 10.4, and
linux (SuSE, GNU) } x { gcc-3.3, 3.4, 4.0 }.

Some wishful thinking for the future:
	Since 7.1 is a STABLE series, I don't intend to add any features
to it.  However, backporting fixes from the newer series would be welcome.
One of the next tasks (I'm volunteering when I have time) is to bring 7.1
under autoconf/automake/libtool control for better portability, replacing
the interactive config scripts.


David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
	-- (2400 baud? Netscape 3.0?? lynx??? No problem!)



More information about the magic-dev mailing list