chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] [PATCH] Simplify header file inclusion


From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Simplify header file inclusion
Date: Sun, 24 Nov 2013 20:48:29 +0100
User-agent: Mutt/1.4.2.3i

Hi all,

Initially I wanted to keep this patch until after 4.9.0 was released,
but I figured what the hell, we'll need to go through a release
candidate cycle anyway and this patch isn't *that* risky, but it
cleans up things considerably (should also lower build times somewhat).

The patch simply rearranges some header files and simplifies
several .scm files as many headers are unnecessary since they
they already are included by chicken.h.  I also got rid of several
messy preprocessor conditionals.  All of them are well-reasoned out,
as indicated by the commit message (which may be a bit terse, so if
you want me to expand upon it, just ask here).

Basically this shuffles some stuff around, it doesn't change anything
fundamentally.  I just took a hard look at what headers ended up being
included unconditionally in some places, and removed all of the
#ifdef-hedged instances of inclusion of the same header.

I've tested on Linux, NetBSD, Haiku, cygwin, mingw and mingw-msys.

Cheers,
Peter
-- 
http://www.more-magic.net

Attachment: 0001-Simplify-handling-of-header-file-inclusion.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]