Re: generic-msvc.h(91): error C2664

2017-11-22 Thread Vicky Vergara
Hello all FYI: I think I solved it by not including the files and only using extern "C" { extern void* SPI_palloc(size_t size); extern void * SPI_repalloc(void *pointer, size_t size); extern void SPI_pfree(void *pointer); } Thanks Vicky ____

generic-msvc.h(91): error C2664

2017-11-21 Thread Vicky Vergara
Hello all I am trying to compile pgRouting on appveyor CI when compiling with pg >= 9.5 I am getting the following error: C:\Program Files\PostgreSQL\9.5\include\server\port/atomics/generic-msvc.h(91): error C2664: '__int64 _InterlockedCompareExchange64(volatile __int64 *,__int64,__int64)'