Date: Thu, 1 Jul 2004 11:02:31 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: arch@freebsd.org Subject: RFC: feature tests instead of compiler tests Message-ID: <20040701110231.1d3a4c70@Magellan.Leidinger.net>
next in thread | raw e-mail | index | archive | help
Hi, the 106k large patch at http://www.leidinger.net/FreeBSD/current-patches/compiler_independence.diff introduces feature tests instead of checks for a particular compiler in the kernel source. The only checks for a particular compiler are in cdefs.h now. As per suggestion from bde I also removed parts of the backward compatibility to old gcc versions because the rest of the kernel can't be compiled anymore with those old versions. Interested parties may look at the cdefs.h part first and suggest some fixes (e.g. better names for the feature defines). The patch survives a run through the universe. Various revisions of this patch run fine on my desktop system since some months. Bye, Alexander. -- I'm available to get hired (preferred in .lu). http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701110231.1d3a4c70>