GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #521

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Jan-Jaap van der Heijden
Subject: New Alpha
Date: 19 Apr 1997, 01:21:24

On Fri, 18 Apr 1997, Frank Heckenbach wrote:

> 
> Peter Gerwinski wrote:
> 
> > Yes, conditional defines.  GPC pre-defines the symbol "__GPC__":
> >
> >     (*$ifdef __GPC__ *)
> >       (* GNU Pascal switches *)
> >[...]
> >     (*$else *)
> >       (* Borland Pascal switches *)
> >[...]
> >     (*$endif *)
> >
> > What would you consider "simpler" than this? ;-)
> 
> OK, if "__GPC__" is predefined, this is viable. I didn't know about this,
> I tried just "GPC"...
> 


There's more (try `gpc -v' or read the specs file)
The underscores are required by POSIX specifications

> No, it seems to be an installation problem.
> Up to now, I could trace it down to the fact that "-D__GNUC_MINOR__=0(2" is
> passed to cpp if called via gpc, instead of "-D__GNUC_MINOR__=7" with gcc.
> I'm not sure yet why this is so, does it have anything to do with
> "gpc version 2.0(2.7.2.1)"?
>                ^^^

That's a bug. (thanks for finding it ;-)

---
  The nice thing about standards is that there are so many to choose from
  -
  Andrew Tanenbaum

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Frank Heckenbach New Alpha 18 Apr 1997, 02:44:53

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).