| От | Ron Peterson |
|---|---|
| Тема | Re: A couple more PostgreSQL C questions |
| Дата | |
| Msg-id | 20061108030452.GE9684@yellowbank.com обсуждение исходный текст |
| Ответ на | A couple more PostgreSQL C questions (Ron Peterson <ron.peterson@yellowbank.com>) |
| Список | pgsql-general |
On Tue, Nov 07, 2006 at 07:50:52PM -0500, Ron Peterson wrote: > I have a couple of more PostgreSQL C questions, about the following two > compiler warnings: > > warning: ISO C90 forbids mixed declarations and code I'm thinking this is unavoidable, and unless my time machine starts working, irrelevant. I'm thinking the correct answer is "just live with it until your version of gcc uses c99 as the default standard". > warning: passing argument 3 of 'GetAttributeByNum' from incompatible pointer type > > bool isNull; src/include/c.h has typedef char bool; which was conflicting with the definition of bool from elsewhere. I just did my own typdef char pg_bool and used that. -- Ron Peterson https://www.yellowbank.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера