ECPG error message
От | Antonio Sergio de Mello e Souza |
---|---|
Тема | ECPG error message |
Дата | |
Msg-id | 3BD430C3.5000700@bol.com.br обсуждение исходный текст |
Ответы |
Re: ECPG error message
|
Список | pgsql-interfaces |
Hi all, When I try to compile source code with these variable declarations: 18 EXEC SQL BEGIN DECLARE SECTION; 19 struct FIELDS_t { 20 char cod[16]; 21 long double val; 22 } fields;23 char command[100]; 24 EXEC SQL END DECLARE SECTION; $ ecpg -t -I /usr/local/pgsql/include -o tstexecute.c tstexecute.ec I get this error message: tstexecute.ec:20: ERROR: parse error at or near "double" What's the problem with long double? Isn't it a standard C data type? I'm using PostgreSQL 7.1.2, compiled with options: --with-tcl --enable-locale --enable-multibyte=LATIN1 and my system is a: Linux version 2.2.16-13cl ( root@mapi2.conectiva.com.br <mailto:root@mapi2.conectiva.com.br> ) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 seg jun 26 17:15:04BRST 2000 Detected 398201 kHz processor. Memory: 127848k/131008k available (1028k kernel code, 416k reserved, 1648kdata, 68k init) CPU: Intel Celeron (Mendocino) stepping 05 . Regards, Antonio Sergio
В списке pgsql-interfaces по дате отправления: