Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group