https://bugs.freedesktop.org/show_bug.cgi?id=45131
Bug #: 45131
Summary: EasyHack: remove gcc 2 conditionals ...
Classification: Unclassified
Product: LibreOffice
Version: LibO Master
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Libreoffice
AssignedTo: [email protected]
ReportedBy: [email protected]
The code-base still has a number of conditionals around the place to handle
really really old gcc versions that we no longer compile with.
#if defined(__GNUC__) && (__GNUC__ < 3)
struct ::stat a_stat, b_stat;
#else
struct stat a_stat, b_stat;
#endif
This clutters and uglifies the code - often the code changes were added to
workaround a specific gcc2 bug, not present in more recent and compliant gcc's.
We should search the code-base for __GNUC__ version checks and kill everything
that is for less than 3.
Thanks :-)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs