[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] openoffice.org-2.0 fails to compile on 6-STABLE



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.

_______________________________________________
freebsd-openoffice_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice
To unsubscribe, send any mail to "freebsd-openoffice-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org