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

msvc const warnings

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: msvc const warnings
Date: 2007-07-24 11:53:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
MSVC generates a number of const warnings, that's been discussed before

Attached patch adds a pragma to get rid of the warnings. Again, not sure if
it's worth it?

I think I need to #ifdef the pragma - gcc generates a warning if it sees it
in -Wall, and that'd certainly be worse :-)

Stefan mentioned that the warning may be one that shows up in a different
compiler somewhere as well, thouh, which might indicate that we should fix
the underlying issue? (Even if the code is correct, if it confuses multiple



pgsql-patches by date

Next:From: Gregory StarkDate: 2007-07-24 12:19:58
Subject: Re: plperl warnings on win32
Previous:From: Magnus HaganderDate: 2007-07-24 11:50:45
Subject: Re: plperl warnings on win32

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