← 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,

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]
https://github.com/MariaDB/server/commit/83da1a1e572d67588b66724b34fdb7f07963e80f#diff-c218f3b060d3d1502b35bf1478a0b10b

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?

Regards,
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

References