Thread: wx snapshot compile failure

wx snapshot compile failure

From
Adam H.Pendleton
Date:
The wxWindows snapshot, wxWindows-pgAdmin3-20031010.tar.bz2, currently
on snake, fails to compile on Mac OS X with the following error:

src/mac/textctrl.cpp: In member function `virtual void
wxTextCtrl::Replace(long
    int, long int, const wxString&)':
src/mac/textctrl.cpp:1177: `st' undeclared (first use this function)
src/mac/textctrl.cpp:1177: (Each undeclared identifier is reported only
once
    for each function it appears in.)
make: *** [corelib_textctrl.o] Error 1

ahp

Attachment

Re: wx snapshot compile failure

From
Andreas Pflug
Date:
Adam H.Pendleton wrote:

> The wxWindows snapshot, wxWindows-pgAdmin3-20031010.tar.bz2, currently
> on snake, fails to compile on Mac OS X with the following error:
>
> src/mac/textctrl.cpp: In member function `virtual void
> wxTextCtrl::Replace(long
>    int, long int, const wxString&)':
> src/mac/textctrl.cpp:1177: `st' undeclared (first use this function)
> src/mac/textctrl.cpp:1177: (Each undeclared identifier is reported
> only once
>    for each function it appears in.)
> make: *** [corelib_textctrl.o] Error 1
>
> ahp

I've seen this mentioned on wx-dev today by Stephane Gully; "st" should
be "value".

What's irritating me a bit is that *my* version 2003.10.10.00.00.00
(textctrl.cpp rev.1.170, cvs -D "2003-10-10 GMT" ) has a line 1177 of
value.Replace(wxT("\n"), wxT("\r"));
so it seems that our snapshot isn't exactly what I have locally. Maybe
another timezone?  The version of this file was changed to 1.171 on
10/10, 4:26

BTW,
I'm wondering if you could have a look at wxWindow's main makefiles, to
have contrib/src/stc and contrib/srx/xrc compiled in the main run. This
would make the package a bit more fool-proof. I'm not quite sure if that
works, because the contrib modules like the base to be installed before
the should be made. Maybe some "make complete" tag that makes all in the
correct row installed?

Regards,
Andreas




Re: wx snapshot compile failure

From
Adam H.Pendleton
Date:
On Monday, Oct 13, 2003, at 18:45 US/Eastern, Andreas Pflug wrote:

> I've seen this mentioned on wx-dev today by Stephane Gully; "st"
> should be "value".
>
> What's irritating me a bit is that *my* version 2003.10.10.00.00.00
> (textctrl.cpp rev.1.170, cvs -D "2003-10-10 GMT" ) has a line 1177 of
> value.Replace(wxT("\n"), wxT("\r"));
> so it seems that our snapshot isn't exactly what I have locally. Maybe
> another timezone?  The version of this file was changed to 1.171 on
> 10/10, 4:26

So do we need to create a new wxWindows snapshot?

>
> BTW,
> I'm wondering if you could have a look at wxWindow's main makefiles,
> to have contrib/src/stc and contrib/srx/xrc compiled in the main run.
> This would make the package a bit more fool-proof. I'm not quite sure
> if that works, because the contrib modules like the base to be
> installed before the should be made. Maybe some "make complete" tag
> that makes all in the correct row installed?
>

This shouldn't be too difficult.  Just a new target, 'complete' sounds
good.

ahp

Attachment

Re: wx snapshot compile failure

From
"Dave Page"
Date:

> -----Original Message-----
> From: Adam H.Pendleton [mailto:fmonkey@fmonkey.net]
> Sent: 14 October 2003 01:37
> To: Andreas Pflug
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] wx snapshot compile failure
>
> On Monday, Oct 13, 2003, at 18:45 US/Eastern, Andreas Pflug wrote:
>
> > I've seen this mentioned on wx-dev today by Stephane Gully; "st"
> > should be "value".
> >
> > What's irritating me a bit is that *my* version 2003.10.10.00.00.00
> > (textctrl.cpp rev.1.170, cvs -D "2003-10-10 GMT" ) has a
> line 1177 of
> > value.Replace(wxT("\n"), wxT("\r")); so it seems that our snapshot
> > isn't exactly what I have locally. Maybe another timezone?  The
> > version of this file was changed to 1.171 on 10/10, 4:26
>
> So do we need to create a new wxWindows snapshot?

I've fixed the one that's there.

Regards, Dave.