Re: Compiling pgAdmin on SuSE 10.1

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Miha Radej" <miha(dot)radej(at)siix(dot)com>, "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Compiling pgAdmin on SuSE 10.1
Date: 2006-05-29 19:11:59
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E401388559@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: pgadmin-hackers-owner(at)postgresql(dot)org
> [mailto:pgadmin-hackers-owner(at)postgresql(dot)org] On Behalf Of Miha Radej
> Sent: 27 May 2006 16:03
> To: pgadmin-hackers
> Subject: [pgadmin-hackers] Compiling pgAdmin on SuSE 10.1
>
> Hi!
>
> I tried to compile pgAdmin on a Suse 10.1 system, using a fresh SVN
> checkout (rev 5210).
>
> Attached is a patch with changes I had to apply in order to be able to
> compile pgAdmin.

Thanks - applied. We really need a buildfarm....

> I also got the following warnings while compiling pgAdmin - got them
> before and after adding the headers, only line numbers differ:
>
> ./frm/frmReport.cpp: In member function 'virtual void
> reportObjectDataDictionaryFactory::GenerateReport(frmReport*,
> pgObject*)':
> ./frm/frmReport.cpp:1335: warning: cannot pass objects of non-POD type
> 'class wxString' through '...'; call will abort at runtime

Yeah, these ones only fail on GCC - it's complaining about passing a
wxString as a parameter to a variadic function. The fix is to use the
c_str() member, eg.

printf("%s: %s", sqlState.c_str(), errMsg.c_str());

It's easy to forget :-(

Thanks, Dave.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Miha Radej 2006-05-29 20:27:07 Re: Compiling pgAdmin on SuSE 10.1
Previous Message svn 2006-05-29 19:11:23 SVN Commit by dpage: r5211 - in trunk/pgadmin3/src: frm include/ctl