← Back to team overview

maria-discuss team mailing list archive

Re: Can not build MariaDB 10.0.30 and 10.1.22 with Visual Studio 2013


On 21.03.2017 12:21, Ayano Kosaka wrote:

Hi Ayano,
I can not build MariaDB 10.0.30 and 10.1.22 with Visual Studio 2013
on Windows 7 Pro 64 bit. `identifier "int64_t" is undefined` occurs
at `storage/xtradb/btr/btr0cur.cc`.

It is probably caused by the following merge commit:
[Merge branch 'merge-xtradb-5.6' into 10.0]

Before this commit, `ib_int64_t` (the typedef, which wraps compiler
differences, in `../include/univ.i`) is used instead of `int64_t`.

This error does not occur on VS2015, because it has `int64_t`.
But VS2013 does not have `int64_t`.

Were the supported compilers changed?
Yes. Generally, we try to support 2 latest versions, which since couple of weeks means VS2015 and VS2017. As buildbot only builds 2015 now, it is easy to break the build on the old compiler and not to notice that. We needed 2015 for rocksdb, and apart from it it will make integrating 3rd party libraries much easier via vcpkg ( https://github.com/Microsoft/vcpkg ) , which only supports 2015 and later.

Hope it is not a big deal for you, and sorry for the trouble.

Or, a bug or my environmental problem?

Ayano Kosaka

Mailing list: https://launchpad.net/~maria-discuss
Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp

Follow ups