Compilation problem - Mailing list pgadmin-hackers

From Zdenek Kotala
Subject Compilation problem
Date
Msg-id 45795217.9030401@sun.com
Whole thread Raw
Responses Re: Compilation problem  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: pgadmin3-1.6.1 - Bus Error (core dumped)
Next
From: Zdenek Kotala
Date:
Subject: Re: Compilation problem