Michael Meeks píše v Pá 20. 01. 2012 v 17:34 +0000:
On Fri, 2012-01-20 at 17:06 +0100, Michael Stahl wrote:
+#if defined(__GNUC__) && (__GNUC__ < 3)
+ struct ::stat a_stat, b_stat;
+#else
+ struct stat a_stat, b_stat;
+#endif
do we really need to have ifdefs for GCC 2 in LO?
Probably not :-) I just re-used what was there already to avoid causing
even more novel problems :-)
I suspect we can rid ourselves of gcc2 everywhere (as an easy hack ?)
but I'd prefer to have Petr check whatever ultra-old systems we build
for ;-)
The oldest system, we use, is SLED10 with gcc-4.1.2.
Also we use gcc-4.2.4 for the official LO builds for TDF.
So, I think that it is perfectly fine to remove support for GCC 2.
Best Regards,
Petr
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.