From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d79d55198abf90d8 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Conditional Compilation Date: 2000/09/24 Message-ID: <8qlri4$gu2$1@nnrp1.deja.com>#1/1 X-Deja-AN: 673627634 References: <7FEFA9E5E3B3C4A5.90418F4BE7D5AE58.48E094CF81EC6BD3@lp.airnews.net> <8qauu3$7ei$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x69.deja.com:80 (Squid/1.1.22) for client 205.232.38.240 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sun Sep 24 21:26:45 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-09-24T00:00:00+00:00 List-Id: In article <8qauu3$7ei$1@nnrp1.deja.com>, Ted Dennison wrote: > Of course the drawback to this approach is that both > alternatives have to be compilable. That makes it suitable for > debug messages (as implied above), but unsuitable for making a > source file that handles multiple > host configurations. Well in a way it is a big advantage that it all has to be compilable. it is only too common to encouter a large C file, full of conditional stuff based on say ten different condition settings, and you just know that no one has systematically done all 1024 compilations, and sure enough you try a new combination, and the thing does not even compile, let alone work. Sent via Deja.com http://www.deja.com/ Before you buy.