gnu.de
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

gpc

peter@idiap.ch

6 Oct 1995 6 Oct '95
11:54 a.m.

Hi I translated a big pc-program (former Turbo-Pascal) into a gpc-program. I found some problems and have some questions! -gcc version 2.6.3 -can not make comments with included comments program test; begin { this is ok! } (* this also *) { (* you get a error*) } { { also get a error } } end. How dos it work >>EXPORT, IMPORT<<? MODULE test INTERFACE; EXPORT Test = (testproc); PROCEDURE testproc; END. MODULE command_line IMPLEMENTATION; PROCEDURE testproc; BEGIN ... END; END. PROGRAM testp; IMPORT Test; BEGIN testproc; END. >gpc -c test.pas ==>test.o >gpc test.o testp.pas ==>No exported interface matching `Test' I found only one way to compile this: >gpc -include test.pas testp.pas How do you compile this? Have you implemented routines to handle the I/O Errors? (e.g. Turbo Pascal => IOResult ); ,~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~. | --------,\ | | Peter Weber / / / | | IDIAP Martigny Peter@IDIAP.CH / / _/ | | TU Ilmenau Peter.Weber@E-Technik.TU-ILMENAU.DE / / | | _/ _/ | |----------------------------------------------------------------------| | http://www.idiap.ch/html/idiap-networks.html | | http://www.rz.tu-ilmenau.de/~webmast/ | | http://www.rz.tu-ilmenau.de/~hsf/hsf.html | `~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'

0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.