Buid fails on OSX 10.3.9

Поиск
Список
Период
Сортировка
Искать

Buid fails on OSX 10.3.9

От:
"Florian G. Pflug" <fgp@phlo.org>
Дата:
Hi

The build fails since yesterday on OSX 10.3.9, using wx-2.7.0
This is the error message:
dlg/dlgIndex.cpp:42: error: invalid static_cast from type `' to
    type `void (wxEvtHandler::*)(wxListEvent&)'
dlg/dlgIndex.cpp:43: error: invalid static_cast from type `' to
    type `void (wxEvtHandler::*)(wxCommandEvent&)'

I didn't have the time yet to look into this - maybe someone has here has an
idea about what gcc is unhappy about...

greetings, Florian Pflug

Re: Buid fails on OSX 10.3.9

От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
 

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org 
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of 
> Florian G. Pflug
> Sent: 24 October 2006 09:46
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] Buid fails on OSX 10.3.9
> 
> Hi
> 
> The build fails since yesterday on OSX 10.3.9, using wx-2.7.0
> This is the error message:
> dlg/dlgIndex.cpp:42: error: invalid static_cast from type 
> `' to
>     type `void (wxEvtHandler::*)(wxListEvent&)'
> dlg/dlgIndex.cpp:43: error: invalid static_cast from type 
> `' to
>     type `void (wxEvtHandler::*)(wxCommandEvent&)'
> 
> I didn't have the time yet to look into this - maybe someone 
> has here has an
> idea about what gcc is unhappy about...

It seems that GCC can't tell the difference between some of these three
functions:

void OnSelectCol(wxCommandEvent &ev);
void OnSelectCol(wxListEvent &ev);
void OnSelectCol();

I've renamed the first two - will commit in a minute.

Thanks, Dave.

Re: Buid fails on OSX 10.3.9

От:
"Florian G. Pflug" <fgp@phlo.org>
Дата:
Dave Page wrote:
>> Florian G. Pflug
>> Sent: 24 October 2006 09:46
>> Hi
>>
>> The build fails since yesterday on OSX 10.3.9, using wx-2.7.0
>> This is the error message:
>> dlg/dlgIndex.cpp:42: error: invalid static_cast from type 
>> `' to
>>     type `void (wxEvtHandler::*)(wxListEvent&)'
>> dlg/dlgIndex.cpp:43: error: invalid static_cast from type 
>> `' to
>>     type `void (wxEvtHandler::*)(wxCommandEvent&)'
>>
> It seems that GCC can't tell the difference between some of these three
> functions:
> 
> void OnSelectCol(wxCommandEvent &ev);
> void OnSelectCol(wxListEvent &ev);
> void OnSelectCol();
> 
> I've renamed the first two - will commit in a minute.
This seems to have fixed it.

Thanks,
Florian Pflug

FAQ