I try to compile pgadmin 1.6.1 (WX2.8rc3) with SunStudio 11 and I
received following error:
"./frm/frmEditGrid.cpp", line 78: Error: Badly formed expression.
I run preprocessor on this file and it looks that
EVT_AUI_PANEBUTTON( frmEditGrid::OnAuiUpdate)
macro is not expanded.
#76
< wxGridEventFunction > ( & frmEditGrid :: OnEditorHidden ) , 0 ) ,
wxEventTableEntry ( wxEVT_GRID_LABEL_RIGHT_CLICK , wxID_ANY , wxID_ANY ,
( wxObjectEventFunction ) ( wxEventFunction ) static_cast
#77
< wxGridEventFunction > ( & frmEditGrid :: OnLabelRightClick ) , 0 ) ,
EVT_AUI_PANEBUTTON ( frmEditGrid :: OnAuiUpdate )
wxEventTableEntry ( wxEVT_NULL , 0 , 0 , 0 , 0 ) } ;
I use following configure setting:
./configure --prefix=/opt/pgadmin3-1.6.1
--with-wx=/opt/wxWidgegets-2.8.0/ --enable-debug --with-wx-version=2.8
Any idea what is wrong?
thanks Zdenek