Date: Tue, 24 Oct 2006 13:57:14 +0200 From: Angelo Turetta <aturetta@commit.it> To: openoffice@freebsd.org Subject: Re: [PATCH] openoffice.org-2.0 fails to compile on 6-STABLE Message-ID: <453DFF9A.1050702@commit.it> In-Reply-To: <453D1419.8080009@chillt.de> References: <453D1419.8080009@chillt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Bartosz Fabianowski wrote: > Hi > > I have just upgraded from 2.0.3 to 2.0.4 and compilation broke for me on > three separate accounts. All three were manifestations of the same error > in OO.o's source: The keyword "NULL" is used to denote a null pointer, > which is legal in C but not in C++. The number "0" should be used > instead. Thanks a lot! I have the same problem but didn't have the time to investigate a patch. > I am surprised that nobody else seems to have run into this. > Maybe my gcc is more picky about standards for some reason? I bet you are building on AMD64! The problem started, I think, with the 20061013 update of the gcc-4.1.x port, which is only required when you compile for AMD64. I suppose most people use OO.o on i386, where this bug is not apparent (gcc-3.4.x is more forgiving). Angelo.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?453DFF9A.1050702>