RE: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails. - Mailing list pgsql-bugs

From Daisuke Higuchi (Fujitsu)
Subject RE: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails.
Date
Msg-id TYWPR01MB967660F1D712C4A387D6B3F9EC019@TYWPR01MB9676.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails.
List pgsql-bugs
>#if defined(_MSC_VER) && _MSC_VER < 1900   /* pre-VS2015 */
>#define snprintf(str,size,...) sprintf(str,__VA_ARGS__)
>#endif
>
>in snprintf.c below where it #undef's snprintf.  Could you try that and verify it works for you?

Thank you! I verified this fix works correctly.
I confirmed that it succeeded to build the source of REL_12_13 + this fix in Visual Studio 2013.

Regards,
Higuchi



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17681: Building the REL_12_13 source in Visual Studio 2013 fails.
Next
From: hubert depesz lubaczewski
Date:
Subject: Warnings about perl when compiling current HEAD