pgsql: Disable linker warning 4197 on Win64, that is caused by the fact

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Disable linker warning 4197 on Win64, that is caused by the fact
Date: 2010-01-05 11:12:50
Message-ID: 20100105111250.AD5E4753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Disable linker warning 4197 on Win64, that is caused by the fact that we export
symbols both using __declspec(dllexport) (via the PGDLLIMPORT macro) and using
full-dll-export. This works without warning on Win32, but not on Win64.

In passing, fix the fact that the framework could never deal with more than
one disbled linker warning - because MSVC wants commas between linker warnings,
and semicolons between compiler warnings...

Modified Files:
--------------
pgsql/src/tools/msvc:
Project.pm (r1.24 -> r1.25)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Project.pm?r1=1.24&r2=1.25)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2010-01-05 13:31:58 pgsql: Move the default configuration for the MSVC build system to
Previous Message Magnus Hagander 2010-01-05 11:06:29 pgsql: Use _mm_pause() for win64 spin_delay(), per note from Tsutomu