List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:July 12 2010 6:34pm
Subject:Re: bzr commit into mysql-5.1-bugteam branch (davi:3466) Bug#52514
View as plain text  
On 7/6/10 5:58 PM, Davi Arnaut wrote:
> On 7/6/10 5:45 PM, Konstantin Osipov wrote:
>> * Davi Arnaut<Davi.Arnaut@stripped> [10/07/06 22:37]:
>>> > 3466 Davi Arnaut 2010-07-06
>>> > Bug#52514: mysql 5.1 do_abi_check does not compile w/ gcc4.5
>>> > due to GCC preprocessor change
>>> >
>>> > Temporary workaround: disable abi_check if GCC>= 4.5
>> The workaround is OK to push. What solution do you have on your
>> mind?
>
> In the current state, it seems the only viable solution is to ifdef out
> system headers when checking the ABI. But I reported a GCC bug, asking
> for a workaround. I shall wait and see...

No response from them so far. Anyway, silly me in only noticing now that 
the problem is actually a single system header:

davi@skynet:~/bzr/mysql-5.1-bugteam$ grep include include/mysql.h.pp
#include <sys/types.h>
#include "mysql_version.h"
#include "mysql_com.h"
#include "mysql_time.h"
#include "my_list.h"
#include "typelib.h"
#include "my_alloc.h"
#include "my_alloc.h"

Going with the ifdef approach.
Thread
bzr commit into mysql-5.1-bugteam branch (davi:3466) Bug#52514Davi Arnaut6 Jul
Re: bzr commit into mysql-5.1-bugteam branch (davi:3466) Bug#52514Konstantin Osipov6 Jul
  • Re: bzr commit into mysql-5.1-bugteam branch (davi:3466) Bug#52514Davi Arnaut6 Jul
    • Re: bzr commit into mysql-5.1-bugteam branch (davi:3466) Bug#52514Davi Arnaut12 Jul