Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Date: Fri, 03 May 2002 13:34:04 -0400 From: Jason Tishler Subject: Re: rebasing new packages?! In-reply-to: To: cygwin-apps AT cygwin DOT com Mail-followup-to: cygwin-apps AT cygwin DOT com Message-id: <20020503173404.GF2072@tishler.net> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_Hq8NAIXV0Z/WtS5FgvL1aw)" User-Agent: Mutt/1.3.24i References: --Boundary_(ID_Hq8NAIXV0Z/WtS5FgvL1aw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Rob, On Fri, May 03, 2002 at 11:55:31PM +1000, Robert Collins wrote: > b) is an alternative approach to what I've already documented here. So > it covers libstc++ aka libg++-3. I don't know how much of the STL that > includes (see my earlier email). > > > > http://sources.redhat.com/cygwin-apps/setup.html). I followed the instructions in the above URL and successfully built setup.exe. Then I added some STL test code to main.cc as indicated by the attached "patch." Due to warnings generated by the STL headers, I had to remove the -Werror option in order to build. Except for that change, setup.exe built without any problems and the STL test code ran as expected: 2002/05/03 13:10:46 Starting cygwin install, version 2.219 2002/05/03 13:10:46 s = bye 2002/05/03 13:10:46 s = hello ... Can we remove the "-Werror" option and start using STL in setup.exe? Thanks, Jason --Boundary_(ID_Hq8NAIXV0Z/WtS5FgvL1aw) Content-type: text/plain; charset=us-ascii; NAME=main.cc.diff Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=main.cc.diff Index: main.cc =================================================================== RCS file: /cvs/cygwin-apps/setup/main.cc,v retrieving revision 2.17 diff -u -p -r2.17 main.cc --- main.cc 29 Apr 2002 11:07:40 -0000 2.17 +++ main.cc 3 May 2002 17:20:32 -0000 @@ -142,6 +142,9 @@ out: // Other threads talk to this page, so we need to have it externable. ThreeBarProgressPage Progress; +#include +#include + #ifndef __CYGWIN__ int WINAPI WinMain (HINSTANCE h, @@ -159,6 +162,13 @@ main (int argc, char **argv) next_dialog = IDD_SPLASH; log (LOG_PLAIN, String ("Starting cygwin install, version ") + version); + + set s; + s.insert("hello"); + s.insert("bye"); + + for (set::iterator i = s.begin(); i != s.end(); i++) + log (LOG_PLAIN, String ("s = ") + (*i).c_str()); SplashPage Splash; SourcePage Source; --Boundary_(ID_Hq8NAIXV0Z/WtS5FgvL1aw)--