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-Thread: 103376,bf856aff026ed05 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!roadrunner.com!not-for-mail Newsgroups: comp.lang.ada Subject: Re: C2Ada port to linux updated. References: <1187000082.276474.188160@g12g2000prg.googlegroups.com> <1187066466.723133.18140@z24g2000prh.googlegroups.com> From: Keith Thompson Organization: None to speak of Date: Tue, 14 Aug 2007 17:01:38 -0700 Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:xhIuV0cx92KL36qN0RkEWptwR88= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 75.80.183.54 X-Complaints-To: abuse@rr.com Xref: g2news2.google.com comp.lang.ada:1444 Date: 2007-08-14T17:01:38-07:00 List-Id: Keith Thompson writes: > "Nasser Abbasi" writes: > [...] >> It took me a day to make it compile/run on Linux. The main problem was with >> using _Bool. They added _Bool data type in C99, for some reason ( I am no >> gcc expert), the current gcc 4.1 compiler does not have and it >> does not know about _Bool, and _Bool is used in many places in the code. > [...] > > Perhaps you just need to update your gcc. gcc 4.1.1 does support > and _Bool. That's odd. I just tried a small test program, and gcc versions 3.2 and 4.0.0 also support and _Bool. Here's the test case: #include _Bool obj1; bool obj2; Save it as, say, "foo.c", feed it to "gcc -c", and see what happens. Perhaps your gcc is configured and/or installed incorrectly. -- Keith Thompson (The_Other_Keith) kst-u@mib.org San Diego Supercomputer Center <*> "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"