From: Grzegorz J. <ja...@he...> - 2003-03-13 06:43:46
|
On Wed, 12 Mar 2003, Michael Hohmuth wrote: > Grzegorz Jakacki <ja...@he...> writes: > > On Tue, 11 Mar 2003, Michael Hohmuth wrote: > >> Alexandre Tolmos <kt...@fr...> writes: > >> > >> > Btw, Grzegorz has got problems compiling with Gcc 3.2.1 (errors in > >> > "buffer.cc" pertaining to the "placement new" operator). On my Mac I > >> > only have Gcc 3.1. Did you encounter such problems with Gcc 3.2? > >> > >> No, I did not. Then again, so far I've only tried using Gcc-3.2 > >> together with a version 6.0 of the garbage collector. > > > > Have you run 'make test' ? > > > > Most likely I did not supply you with enough info on the check-in > > procedure (I posted the draft some like two (?) weeks ago, I assumed you > > got it). We try to work in branches, tagged sandbox_USERID or > > sandbox_USERID_SOMETHING, and test before we merge to the trunk. 'make > > test' does testing. Perhaps you were not aware of it, otherwise you would > > not be able to successfully run 'make test', as your GC differs from CVS > > GC. > > > > I am very sorry about this confusion, I am planning to put such info on > > the website, I am working on this now. It should be ready before the end > > of this month. > > Dear Grzegorz, > > I am at loss here: I lost track of what we are discussing about. I am sorry, let me clarify. > Just to clear up some confusion: > > Are you commenting on (1) the issue at hand (problems with > placement-new operator) or (2) on the Gcc patch I committed? > > If (1): > > I have not checked in any patches related to the garbage collector. I > just proposed a GC patch for the old garbage collector (which I did > not check in) to you in case you would like to experiment with it. When you wrote, that you checked in patch for gcc-3.2 I just checked out and it did not compile. Thus I assumed that you forgot to checkin the new version of gc. I thought that you send the patch just for my convinience, while CVS already contains the correct version of gc. > If (2): > > I have checked in my patch to the main trunk of the CVS, as you > advised in another post. They do not break anything, so it's ok. > Yes, I did run "make test". Before I applied my patch, it worked for > Gcc 2.95, but OpenC++ did not even compile for Gcc 3.0 and Gcc > 3.2 because of the garbage collector's operator-new issue. > After my patch, the situation remained the same. I am quite positive > that my changes do not break anything that was not broken before I > committed them. Sure. > However, using my experimental GC patch mentioned above, OpenC++ > compiles. The testsuite had to be adopted to ANSI C++ because of > namespace issues and "void main()", and I have committed the > corresponding changes now. It now seems to work with Gcc 3.0, but > fails with Gcc 3.2, apparently because `occ' cannot parse a number of > STL header files coming with that compiler version. > > > Please note that `occ' currently assumes that you C++ compiler is > called `g++' (or `CC' on IRIX), and there does not seem to be an > option to change this. Therefore, if your compiler has a different > name (for example, Gcc 3.2 is called `gcc-3.2' on Debian Linux), you > need to edit the line containing "compilerName" in driver2.cc. I assumed that 'gcc-3.2' patch means all modifications that will make testsuite work with gcc-3.2 . Now I see what you meant. I think this is precisely the problem that calls for separation of Frontend library. Your patch is a patch for a Frontend and it does not apply to the testsuite, which tests the whole thing. > As an aside: I subscribed to <ope...@li...>, > but it looks like commit messages are not reflected to this list. Is > this intended? No. To make CVS spit e-mails to this mailing list we have to setup a script in CVSROOT module of CVS. It is all described in SF SiteDocs. This should take 45mins. including reading the docs. If you can get it off my TODO list, that would be great. Best regards Grzegorz ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |