AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070403201757.34b4c617@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<dl-cougar>,<dl-software>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 3 Apr 2007 20:19:31 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: dl-cougar, dl-software
Subject: cougar porting: ifdefs really ARE the devil!
Message-ID: <20070403201931.17db2acb@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Howdy folks,

Well, the ifdef thing has gotten out of the bag already.  It's my fault,
really.

Having gone through this before, and knowing where the dragons be, I
will write up a cookbook on how to handle them.  So don't panic, give
me a couple of days to whack that out before trying to tackle 'em.
Many of you are not there yet, so you aren't going to be tackling them
in the next day or so anyway.

General rules:

Read my lips*: no new ifdefs allowed.  Exceptions _might_ be: ifdefs for
compiler differences (ssc code at least will be using gcc-4.1.2-ish,
really a prerelease of 4.2; hopefully we can get NFX code onto at
least the latest sde compiler); and ifdefs not introduced by hand
but by running configure in an open source package that we have to break
apart and modify.  That's it.  Seriously.  Finito.

This generally goes for makefiles too.  I'll try to cover that briefly
as well.

Cheers,

a



*spoken by a Bush