Re: Compilation problem

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: pgadmin-hackers(at)postgresql(dot)org
Cc: Dave Page <dpage(at)postgresql(dot)org>
Subject: Re: Compilation problem
Date: 2006-12-08 13:06:38
Message-ID: 4579635E.5040807@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

It looks that some macros has been renamed in wx 2.8RC3

There is a patch

Zdenek

Zdenek Kotala wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

Attachment Content-Type Size
pgadmin.patch text/x-patch 2.6 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2006-12-08 15:18:25 pgagent linker problem
Previous Message Zdenek Kotala 2006-12-08 11:52:55 Compilation problem