Re: compile problem

From: "Tim Stahlhut" <stahta01(at)highstream(dot)net>
To: "'Hiroshi Saito'" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, "'Dave Page'" <dpage(at)postgresql(dot)org>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: compile problem
Date: 2007-03-13 14:04:38
Message-ID: 000601c76578$8ba0ca80$adf7123f@timstahlhut
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Yes, wxWidgets-2.8 has WXWIN_COMPATIBILITY_2_6=1 this is set in setup.h for
windows users and passed as an option for Linux Users when building
wxWidgets. If, you no longer support your application under wxWidgets 2.6 or
below I would just rename them all they are listed in wx/filedlg.h. If you
still support 2.6 I would set WXWIN_COMPATIBILITY_2_6=1 in setup.h till you
get the other errors fixed first compiling against 2.9 (cvs-head)

Tim S

-----Original Message-----
From: Hiroshi Saito [mailto:z-saito(at)guitar(dot)ocn(dot)ne(dot)jp]
Sent: Tuesday, March 13, 2007 9:57 AM
To: Dave Page; Tim Stahlhut
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: [pgadmin-hackers] compile problem

Hi Dave.

From: "Dave Page"
>
> Sorry, I was sleeping - and you did email to say cancel the post!
>
>> ?wxSAVE was renamed to wxFD_SAVE when WXWIN_COMPATIBILITY_2_6=0
>> which is the default for 2.9 builds now (cvs head is 2.9)

Umm, I am confused for a moment.....
as for wxWidgets-2.8.0, WXWIN_COMPATIBILITY_2_6=1?

c:\home\pgadmin3-1.7.0b\pgadmin\frm\frmoptions.cpp(324) : error C2027:
[snip-japanese] 'wxFile' [snip-japanese]
c:\home\wxwidgets-2.8.0\include\wx\filename.h(32) : 'wxFile' [snip-japanese]

#include <wx/file.h> add the frmoptions.cpp is normal finished.

About which does this think to be correct?

Regards,
Hiroshi Saito

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 3/12/2007
8:41 AM

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.9/719 - Release Date: 3/12/2007
8:41 AM

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2007-03-13 14:05:38 Re: Translate
Previous Message Hiroshi Saito 2007-03-13 13:57:16 Re: compile problem