Re: BUG #15167: error C2365: 'errcode' : redefi nition; previous definition

Поиск
Список
Период
Сортировка
От Hao Lee
Тема Re: BUG #15167: error C2365: 'errcode' : redefi nition; previous definition
Дата
Msg-id CAGoxFiFNWtWW3h2qLsPeZc8ruoQWasTh3ye4YBh+4N_AQDQ1pQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #15167: error C2365: 'errcode' : redefi nition;previous definition  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15167: error C2365: 'errcode' : redefi nition; previousdefinition  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-bugs
The more info: 
1>d:\postgres\src\include\utils/elog.h(131) : error C2365: 'errcode' : redefinition; previous definition was 'typedef'
1>        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\crtdefs.h(560) : see declaration of 'errcode'



On Mon, Apr 23, 2018 at 2:29 PM, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      15167
Logged by:          Hao LI
Email address:      mixtrue@gmail.com
PostgreSQL version: 10.3
Operating system:   windows 7
Description:       

Platform: windows 7 and vs 2008

The source code checkout from : https://github.com/postgres/postgres.git.
and the git log as following:
commit 9cad926eb876a30d58a5b39789098da83a6ef91c

I run the command from src\tools\msvc\build.pl DEBUG, and get error as
following:

d:\work\postgres\src\include\utils/elog.h(131): error C2365: 'errcode' :
redefinition; previous definition was 'typedef'.

Best Regards,

Hao.




--
A Database Kernel Engineer.                               @http://www.leehao.org
MyBook: Inside into PostgreSQL Query Engine.     @amazon China

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15167: error C2365: 'errcode' : redefi nition;previous definition
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #15167: error C2365: 'errcode' : redefi nition; previousdefinition