| От | Tom Lane |
|---|---|
| Тема | Re: partitioned tables and contrib/sepgsql |
| Дата | |
| Msg-id | 20411.1491369620@sss.pgh.pa.us обсуждение |
| Ответ на | Re: partitioned tables and contrib/sepgsql (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
| Ответы |
Re: partitioned tables and contrib/sepgsql
|
| Список | pgsql-hackers |
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 4/5/17 00:58, Tom Lane wrote:
>> Another issue is whether you won't get compiler complaints about
>> redefinition of the "true" and "false" macros. But those would
>> likely only be warnings, not flat-out errors.
> The complaint about bool is also just a warning.
Really?
$ cat test.c
typedef char bool;
typedef char bool;
$ gcc -c test.c
test.c:2: error: redefinition of typedef 'bool'
test.c:1: note: previous declaration of 'bool' was here
This is with gcc 4.4.7.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера