Compilation problem

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Compilation problem
Date: 2006-12-08 11:52:55
Message-ID: 45795217.9030401@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2006-12-08 13:06:38 Re: Compilation problem
Previous Message Dave Page 2006-12-08 08:34:18 Re: pgadmin3-1.6.1 - Bus Error (core dumped)