← Back to team overview

maria-developers team mailing list archive

Re: MariaDB made be compiled by gcc 4.8.1

 

Hi, Sanja!

See below

On Oct 22, sanja@xxxxxxxxxxxxxxxx wrote:
> message:
>   MariaDB made be compiled by gcc 4.8.1

> === modified file 'extra/yassl/include/yassl_int.hpp'
> --- a/extra/yassl/include/yassl_int.hpp	2012-04-05 08:49:38 +0000
> +++ b/extra/yassl/include/yassl_int.hpp	2013-10-22 07:56:05 +0000
> @@ -440,7 +440,7 @@ public:
>      const Ciphers&    GetCiphers()    const;
>      const DH_Parms&   GetDH_Parms()   const;
>      const Stats&      GetStats()      const;
> -    const VerifyCallback getVerifyCallback() const;
> +    VerifyCallback getVerifyCallback() const;

Why?

> === modified file 'storage/maria/ma_checksum.c'
> --- a/storage/maria/ma_checksum.c	2008-04-03 13:40:25 +0000
> +++ b/storage/maria/ma_checksum.c	2013-10-22 07:56:05 +0000
> @@ -58,7 +58,7 @@ ha_checksum _ma_checksum(MARIA_HA *info,
>        length= _ma_calc_blob_length(blob_size_length, pos);
>        if (length)
>        {
> -        memcpy((char*) &pos, pos + blob_size_length, sizeof(char*));
> +        memcpy((char*) &pos, pos + blob_size_length, (sizeof(char*)));

Why?

>          crc= my_checksum(crc, pos, length);
>        }
>        continue;

Regards,
Sergei


Follow ups