ECPG does not recognise typedefs

Поиск
Список
Период
Сортировка
От Fredy K. GMX
Тема ECPG does not recognise typedefs
Дата
Msg-id 200301271554.55236.fredy.k@gmx.net
обсуждение исходный текст
Ответы Re: ECPG does not recognise typedefs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
Postgre Version: 7.3
OS: Linux Mandrake 9.0

In a C-File I have included a header file which globaly defines some typedefs
of variable types like following:
  typedef long MYLONG;

When I write in the file the following definition:
EXEC SQL begin declare section;
  static MYLONG sqlLongHostVar;
EXEC SQL end declare section;

the ecpg precompiler seems not to recognise this type although it is defined
in the included header file. The following error occurs:
ERROR: invalid datatype 'MYLONG'

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Wolfgang Walter
Дата:
Сообщение: pgtcl combined with view with certain insert/update-rules => crash
Следующее
От: "Yichen Xie"
Дата:
Сообщение: [CHECKER] 9 potential out-of-bounds array access errors