BUG #13788: compile error in generic_msvc.h

From: paul(dot)moore(at)centrify(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13788: compile error in generic_msvc.h
Date: 2015-12-01 16:54:57
Message-ID: 20151201165457.2760.18019@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13788
Logged by: paul moore
Email address: paul(dot)moore(at)centrify(dot)com
PostgreSQL version: 9.5beta1
Operating system: win server 2012
Description:

vs 2015, compiling spi execq sample

vc complains about this

1>c:\Program
Files\PostgreSQL\9.5\include\server\port/atomics/generic-msvc.h(91): error
C2664: 'LONG64 _InterlockedCompareExchange64(volatile LONG64
*,LONG64,LONG64)': cannot convert argument 1 from 'volatile uint64 *' to
'volatile LONG64 *'

same for the add64 function a few lines later

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message otheus uibk 2015-12-01 19:04:17 Re: BUG #12447: pgAdmin 1.20.0 missing MSVC redistributables?
Previous Message Tom Lane 2015-12-01 14:55:05 Re: PQexec() hangs on OOM