Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
From: Grant Jacobs
Subject: Porting from DEC pascal to GPC
Date: 7 Feb 2003, 03:40:18
At 1:52 PM +0000 6/2/03, Wood David wrote: >Rob Koopman wrote: [snip] >We've ported quite a lot of DEC Pascal to GPC without major problems. >Certainly GPC2.1 hasn't given us problems with segfaults or internal errors >on both i386 or Alpha platforms. We have had to do quite a lot of manual >code conversions though. Areas which spring to mind that needed changing in >our code was: > >GPC doesn't read enumerated types from files; >GPC doesn't support the :=ZERO assignment; >GPC doesn't use file i/o and read qualifiers, especially ERROR:= CONTINUE; >VARYING [] OF CHAR must be replaced by STRING(); >REAL is best defined as SINGLE; >VMS runtime library functions aren't available (obviously!). I can't do key >detection as I do under VMS >INHERIT and ENVIRONMENT become INTERFACE/IMPLEMENTATION and USES >Remove [GLOBAL] and [EXTERNAL] >[STATIC] becomes static >No D+0 etc. for double precision exponents >The only compiler bug - global string definitions in modules don't always >work yet (I don't think?) > >I have code examples of how I've worked around the enumerated type reading >and ZERO issues if you wish. I'd like to this is if you're willing. I'm trying to port my old Ph.D. project (for old times sake I suspect!)
Previous mail
Next mail
Unformatted/full headers
Overview 10 days
Subject
Date
Thread
Author
| Author | Subject | Date |
|---|---|---|
| Wood David | Porting from DEC pascal to GPC | 6 Feb 2003, 13:52:47 |
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).