Issue Details (XML | Word | Printable)

Key: CORE-5120
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: David Ostrovsky
Votes: 1
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Configure: snprintf function is already defined on MSVC 2015

Created: 29/Feb/16 07:37 AM   Updated: 19/Feb/17 09:45 PM
Component/s: Build Issues / Porting
Affects Version/s: None
Fix Version/s: 2.5.7, 3.0.2

Environment: Windows

QA Status: Cannot be tested


 Description  « Hide
Trying to use firebird with MSVC 2015 currently failing because of broken discovery of snprintf and vsnprintf functions:

There is

{code}
  AC_CHECK_FUNCS(snprintf vsnprintf)
{code}

macro in configure.in, that gets expanded to: [1]. Apparently one include or something is missing there.
So that in the end the autoconfig.h tries to erroneously redefine already defined snprintf function: [2].

[1] http://paste.openstack.org/show/488502
[2] http://paste.openstack.org/show/488503


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.