Date: Thu, 24 Mar 2011 13:01:43 +0100 From: Baptiste Daroussin <bapt@freebsd.org> To: Andriy Gapon <avg@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: libreoffice and gcc44+ Message-ID: <AANLkTi=J_u_X1AvatB6xNqdROvDBw87jY6HN_O-dq9XX@mail.gmail.com> In-Reply-To: <4D8AE328.3020906@freebsd.org> References: <4D8AE328.3020906@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/3/24 Andriy Gapon <avg@freebsd.org> > > Baptiste, > > I found it necessary to use the attached patch for libreoffice compilation > to > succeed with gcc45. (patch name doesn't conform to the ports standards). > Without the patch my compilation failed because FILE declaration was not > found. > > I am CC-ing ports@ as this is an example of a classical base gcc vs gcc44+ > problem. The reasons for this issue are described here: > http://gcc.gnu.org/gcc-4.3/porting_to.html > See "Header dependency cleanup". > > I am surprised that this kind of problem has sneaked into the release code > of > libreoffice. It could mean two things: (a) they use older gcc themselves; > (b) > FILE/stdio.h inclusion was brought in by some other inclusion likely in > Linux > system header files. > In any case I think that the upstream developers should have used cstdio > header > inclusion and std::FILE if they really need that. > Are you a regular on their development channels? Maybe you could forward > the > report to them? > > Thanks! > -- > Andriy Gapon > I'll forward them your report. Thanks, Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=J_u_X1AvatB6xNqdROvDBw87jY6HN_O-dq9XX>