← Back to team overview

maria-developers team mailing list archive

Re: d1a7ae2: MDEV-9618 solaris sparc build fails on 10.1.

 

Hi, Alexey!

On Jun 26, Alexey Botchkov wrote:
> revision-id: d1a7ae232ef6e35e4f81871e3c9d0d318a5dcef1 (mariadb-10.1.14-28-gd1a7ae2)
> parent(s): 305bbbce6152b0909937659ecba4d51e5b21c094
> committer: Alexey Botchkov
> timestamp: 2016-06-26 00:11:30 +0400
> message:
> 
> MDEV-9618 solaris sparc build fails on 10.1.
> 
>         Compiler on Sparc is strict about the 'const' modifiers
>         in function declarations and definitions. Meaning
>         they should be exactly same.

ok to push

Interestingly enough, I've just read about it few days ago - that const
modifiers do *not* have to be exactly the same, the compiler can be lax
about it, because these const modifiers do not mean anything for the caller.

So, this strictness could be considered a bug in that Solaris C++ compiler.

Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx