Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug
Date
Msg-id 200607261714.k6QHEwk27829@momjian.us
Whole thread Raw
In response to Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Responses Re: [PATCHES] Patch for VS.Net 2005's strxfrm() bug  ("Florian G. Pflug" <fgp@phlo.org>)
List pgsql-hackers
Hiroshi Saito wrote:
> From: "Andrew Dunstan"
>
> > Hiroshi Saito wrote:
> > > Hmm, It seems to be the bug of very unpleasant Microsoft.:D
> > > I think that the following is desirable as an evasion measure to add.
> > >
> > > #if defined(_MSC_VER) && _MSC_VER == 1400
> > >
> > > To be sure, it was only VS2005.
> > >
> >
> >
> > Why is this better than:
> >
> >   #if _MSC_VER == 1400
> >
> >
> > Surely this will not be true if _MSC_VER is undefined?
>
> I experienced injustice and the reason of in OSX for it.

What was the problem with OSX?  Did it throw a warning of you did an
equality test on an undefined symbol?

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [PATCHES] Resurrecting per-page cleaner for btree
Next
From: Gregory Stark
Date:
Subject: Re: Better name/syntax for "online" index creation