[PATCH] inform user if any postinstall script failed to run

Jon TURNEY jon.turney@dronecode.org.uk
Tue Sep 7 18:55:00 GMT 2010


On 07/09/2010 17:57, Yaakov (Cygwin/X) wrote:
> 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?

No, I don't have that compiler installed to test the fix, please go ahead.



More information about the Cygwin-apps mailing list