Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group