libreoffice and gcc44+
bapt at freebsd.org
Thu Mar 24 12:02:04 UTC 2011
2011/3/24 Andriy Gapon <avg at freebsd.org>
> I found it necessary to use the attached patch for libreoffice compilation
> succeed with gcc45. (patch name doesn't conform to the ports standards).
> Without the patch my compilation failed because FILE declaration was not
> 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:
> See "Header dependency cleanup".
> I am surprised that this kind of problem has sneaked into the release code
> libreoffice. It could mean two things: (a) they use older gcc themselves;
> FILE/stdio.h inclusion was brought in by some other inclusion likely in
> system header files.
> In any case I think that the upstream developers should have used cstdio
> inclusion and std::FILE if they really need that.
> Are you a regular on their development channels? Maybe you could forward
> report to them?
> Andriy Gapon
I'll forward them your report.
More information about the freebsd-ports