gpc

Fri, 6 Oct 95 11:54:34 +0100


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<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        |
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'   


Peter Weber (peter@idiap.ch (Peter Weber))

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es