From: Vitaly Subject: Re: [PATCH] reiser4progs compiling with GCC4.0 Date: Fri, 27 May 2005 19:18:32 +0400 Message-ID: <200505271918.32256.vitaly@namesys.com> References: <1117136170.9409.1.camel@Gargamel.ravioli> <200505271511.23873.vitaly@namesys.com> <1117206460.6191.2.camel@Gargamel.ravioli> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <1117206460.6191.2.camel@Gargamel.ravioli> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="utf-8" To: disk@sourcemage.org, Flavien Bridault , reiserfs-list@namesys.com =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1=82 = =D0=9F=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0 27 =D0=9C=D0=B0=D0=B9 2005 19:07= Flavien Bridault =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(a): > Le vendredi 27 mai 2005 =C3=A0 15:11 +0400, Vitaly a =C3=A9crit : > > =D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1= =82 =D0=A7=D0=B5=D1=82=D0=B2=D0=B5=D1=80=D0=B3 26 =D0=9C=D0=B0=D0=B9 2005 2= 3:36 Flavien Bridault =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(a): > > > Hi people, > > > > > > I searched a bit on the mail archive and I didn't find anything about > > > that except about the devel gcc4.0 tree. > > > > > > With stable gcc4.0 reiser4progs fails to compile because of three > > > "static declarations that follows a non-static declarations". I so ma= de > > > the following patch to get it compiling, but I would like to know if = it > > > seems correct to you (and if it has not already be done ;-) ) before I > > > integrate it in the Source Mage grimoire. > > > > thank you for the report. your patch creates different static variables > > in each c file that includes the header. please try the attached patch. > > > > -- Vitaly > > I did the previous one without knowing what should be the visibility of > these variables, so your solution is indeed much better. :-) > And that compiles like a charm with gcc4.0. :-) > I will integrate it in Source Mage spell. Can we expect that this fix > will be included in next reiser4progs release ? sure, it will. > Thanks ! =2D- Vitaly