| От | Tom Lane |
|---|---|
| Тема | Re: BUG #13689: Build failed pg9.4.5 with mingw5.1 |
| Дата | |
| Msg-id | 33045.1445357220@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #13689: Build failed pg9.4.5 with mingw5.1 (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: BUG #13689: Build failed pg9.4.5 with mingw5.1
|
| Список | pgsql-bugs |
Bruce Momjian <bruce@momjian.us> writes:
> On Tue, Oct 20, 2015 at 04:37:37AM +0000, kangjoni76@gmail.com wrote:
>> Invalid conversion ForkNumber to int...
>> error build failed ForkNumber type doesn't have operator++.
>> This happen in src/common/relpath.c:52 and also at line 86.
> Wow, we are incrementing an enum here. Is that legal? What compiler
> are you using?
Possibly C++ doesn't allow that? But if so, it's user error.
Postgres is written in C not C++.
(I could see a compiler issuing a warning here that forkNum will
get incremented past the declared range of the enum. But that
doesn't seem to be what's being reported.)
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера