From: xxakirhaxx (@xxakirhaxx) <noreply+xxakirhaxx@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #856: Running into "error C2196: case value '4' already used"
Date: Mon, 09 Jun 2025 19:55:58 +0000
Message-ID: <gh-pgvector-pgvector-856@github.com> (raw)
```
D:\AI-Resources\Databases\Postgres\include\server\access/tupmacs.h(65): error C2196: case value '4' already used
D:\AI-Resources\Databases\Postgres\include\server\access/tupmacs.h(197): error C2196: case value '4' already used
NMAKE : fatal error U1077: 'cl /nologo /I"D:\AI-Resources\Databases\Postgres\include\server\port\win32_msvc" /I"D:\AI-Resources\Databases\Postgres\include\server\port\win32" /I"D:\AI-Resources\Databases\Postgres\include\server" /I"D:\AI-Resources\Databases\Postgres\include" /O2 /fp:fast /c src\hnsw.c /Fosrc\hnsw.obj' : return code '0x2'
```
Running into that error during build from master v0.8.0 and 0.7.4 (tried all three to make sure it wasn't version specific)
Currently running:
Windows 10
Compiling with:
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35209 for x86
Running PostgreSQL DB:
PostgreSQL 17.5 on x86_64-windows, compiled by msvc-19.43.34808, 64-bit
If this is an issue which has been resolved or is common, I'm having trouble finding a source for help, but if this is an issue that is new. Here it is. If you need more information, hit me back I'd be happy to provide anything I can to help. I'm currently at a stand still without your amazing extension. :(