[Flaim-devel] PATCH: Build fix for gcc 4.3
Christopher Brown
snecklifter at gmail.com
Fri Feb 15 14:38:52 MST 2008
Hello Andrew, Daniel et al,
Fedora 9 will be built using gcc 4.3 so the following is required to
make flaim build on x86_64. This was previously sent by someone else
to opensuse-commits but does not look like it was picked up.
http://lists.opensuse.org/opensuse-commit/2007-12/msg00528.html
--- src/kybuild.cpp 2008-02-15 20:02:22.000000000 +0000
+++ src/kybuild.cpp 2008-02-15 20:02:50.000000000 +0000
@@ -533,8 +533,8 @@
if (pIxd->uiFlags & IXD_OFFLINE)
{
if (uiContainerNum >
pIxd->uiLastContainerIndexed ||
- uiContainerNum ==
pIxd->uiLastContainerIndexed &&
- uiDrn > pIxd->uiLastDrnIndexed)
+ (uiContainerNum ==
pIxd->uiLastContainerIndexed &&
+ uiDrn > pIxd->uiLastDrnIndexed))
{
continue;
}
--- ftk/src/ftk.h 2006-10-12 23:56:32.000000000 +0100
+++ ftk/src/ftk.h 2008-02-15 21:00:17.000000000 +0000
@@ -3687,7 +3687,7 @@
} F_TMSTAMP;
#define f_timeIsLeapYear(year) \
- ((((year) & 0x03) == 0) && (((year) % 100) != 0) ||
(((year) % 400) == 0))
+ (((((year) & 0x03) == 0) && (((year) % 100) != 0)) ||
(((year) % 400) == 0))
void f_timeGetSeconds(
--
Christopher Brown
http://www.chruz.com
More information about the Flaim-devel
mailing list