This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [PATCH] inform user if any postinstall script failed to run
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Tue, 07 Sep 2010 11:57:25 -0500
- Subject: Re: [PATCH] inform user if any postinstall script failed to run
- References: <4C49D54B.1030900@dronecode.org.uk> <20100723184920.GB9768@ednor.casa.cgf.cx> <4C503DCD.5020508@dronecode.org.uk> <20100728145822.GA9785@ednor.casa.cgf.cx> <4C51AC12.60005@dronecode.org.uk> <4C77F2BA.6030400@dronecode.org.uk> <1283852715.4844.13.camel@YAAKOV04> <4C8645C8.50403@dronecode.org.uk>
On Tue, 2010-09-07 at 15:01 +0100, Jon TURNEY wrote:
> On 07/09/2010 10:45, Yaakov (Cygwin/X) wrote:
> > This code does not compile with i686-pc-mingw32 gcc-4.5.1:
> >
> > postinstall.cc: In function âstd::string
> > do_postinstall_thread(HINSTANCE__*, HWND__*)â:
> > postinstall.cc:178:85: error: no matching function for call to
> > âfind(std::vector<Script>::iterator, std::vector<Script>::iterator,
> > const Script&)â
>
> Hmm... perhaps a '#include <algorithm>' is needed?
Yep, that fixes it. Do you want the honours of committing the fix?
Yaakov