I have a c++ module which just performs calculations, and does not use c++ objects. Just c++ syntax. The header file which is used from a c++ main, is the following:

extern int delta_calcForward(float theta1, float theta2, float theta3, float &x0, float 
&y0, float &z0);
extern int delta_calcInverse(float x0, float y0, float z0, float &theta1, float 
&theta2, float &theta3);

Invoking h2pas with the following command line:

h2pas -e -p -D -i deltarobcpp.h

generates an "Internal error 1 in line 1". The temporary files generated, ext*.tmp, are all of zero length.

Platform is Linux x86_64, tested with h2pas from different fpc releases from 2.6.4 to trunk.

What I'm doing wrong?

Giuliano

--
Do not do to others as you would have them do to you.They might have different 
tastes.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to