Thread: [ecpg & void type] problem

[ecpg & void type] problem

From
john moyard
Date:
Hello,

I am trying to compile my first .pgc file in way to btain a C source file.

This pgc file contains data type 'void' in some function prototypes.
An example could be "void dataconnection () {}"

At the compilation step thanks to ecpg command, I obtain the following message :
ERROR: unrecognized data type name "void"
I use a commande like "ecpg -c -o test.c test.pgc"

I am not able to find a solution, could you please help me?

Regards

___________________________________________________________
Mode, hifi, maison,… J'achète malin. Je compare les prix avec Voila.fr http://shopping.voila.fr/