Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
6.1.1
-
None
Description
After recent changes in the server, the develop branch of ColumnStore fails to compile against the 10.6 server branch with the following sympthoms.
/home/bar/maria-git/s10.6.cs6.char1/BUILD-DEB/include/my_config.h:226: error: "HAVE_STRTOLL" redefined [-Werror]
|
226 | #define HAVE_STRTOLL 1
|
|
|
...
|
/home/bar/maria-git/s10.6.cs6.char1/include/m_string.h:182: note: this is the location of the previous definition
|
182 | #define HAVE_STRTOLL
|
/usr/include/boost/math/special_functions/detail/fp_traits.hpp: In static member function ‘static void boost::math::detail::fp_traits_non_native<float, boost::math::detail::single_precision>::get_bits(float, uint32_t&)’:
|
/home/bar/maria-git/s10.6.cs6.char1/include/m_string.h:44:26: error: ‘bcopy’ is not a member of ‘std’; did you mean ‘copy’?
|
44 | # define memcpy(d, s, n) bcopy ((s), (d), (n))
|
The problem happens because of a wrong inclusion order of:
- mcsconfig.h - ColumnStore configuration header
- my_config.h - MariaDB configuration header
- m_ctype.h - MariaDB charset and collation library header
- my_sys.h - MariaDB mysys library header