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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-25 08:24:23 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread1.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail Message-ID: <4013EDB3.902@noplace.com> From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (OEM-HPQ-PRS1C03) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Standard Ada Preprocessor (Was: why ada is so unpopular ?) References: <400A9B48.3060100@noplace.com> <400BD4B5.6000307@noplace.com> <400BDB7C.40100@noplace.com> <400D2150.6000705@noplace.com> <400E72F9.8060501@noplace.com> <100upo7ln5e3k59@corp.supernews.com> <400FC8E8.2040100@noplace.com> <_JSdna166JuxFo3dRVn-hg@comcast.com> <401115B7.5020205@noplace.com> <401264ED.306@noplace.com> <4012927F.60401@noplace.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 25 Jan 2004 16:24:22 GMT NNTP-Posting-Host: 209.165.23.132 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.atl.earthlink.net 1075047862 209.165.23.132 (Sun, 25 Jan 2004 08:24:22 PST) NNTP-Posting-Date: Sun, 25 Jan 2004 08:24:22 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:4794 Date: 2004-01-25T16:24:22+00:00 List-Id: Well, I suppose if I assumed Gnat as the compiler (not always possible, obviously) then I at least have this work around: Code it up in C with #ifdef's and bind to it with Ada. :-) The problem is, of course, sometimes you can't assume a C compiler is around - unless you're coding the whole thing in C and then its a non-issue. With C, you clearly can get your conditional compilation (and a bunch of things you maybe *didn't* want ;-) That is one reason why a lot of developers go with C. It does what they *want* it to do instead of having it tell them "You shouldn't *want* to do that!" I think that's one thing that makes it difficult to sell Ada sometimes. MDC Robert I. Eachus wrote: > > I just haven't found that to be a major hurdle. I can easily see that > happening if you are "up against the wall" with a compiler bug. But > with GNAT, I have the source, and know how to use it. ;-) > -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "Face it ladies, its not the dress that makes you look fat. Its the FAT that makes you look fat." -- Al Bundy ======================================================================