[Gnucash-changes] A couple of tweaks for compiling with gcc4 on FC4.
David Hampton
hampton at cvs.gnucash.org
Wed Oct 12 17:48:52 EDT 2005
Log Message:
-----------
A couple of tweaks for compiling with gcc4 on FC4.
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash:
ChangeLog
configure.in
Revision Data
-------------
Index: configure.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/configure.in,v
retrieving revision 1.359.2.66
retrieving revision 1.359.2.67
diff -Lconfigure.in -Lconfigure.in -u -r1.359.2.66 -r1.359.2.67
--- configure.in
+++ configure.in
@@ -706,7 +706,7 @@
[ AC_MSG_ERROR([cannot find libofx header, needed for OFX support.]) ] )
fi
- LIBOFX_LIBS="${LIBOFX_LIBS} -lofx -lstdc++"
+ LIBOFX_LIBS="${LIBOFX_LIBS} -lofx"
AC_MSG_CHECKING(for libofx)
save_LIBS="${LIBS}"
LIBS="${LIBS} ${LIBOFX_LIBS}"
@@ -1177,7 +1177,7 @@
warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement"
else if test `echo ${GCC_VERSION} | cut -d. -f1` -ge 4; then
# This is gcc == 4.x.x
- warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement"
+ warnFLAGS="${warnFLAGS} -Wdeclaration-after-statement -Wno-pointer-sign"
fi
fi
fi
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.323
retrieving revision 1.1487.2.324
diff -LChangeLog -LChangeLog -u -r1.1487.2.323 -r1.1487.2.324
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,10 @@
+2005-10-12 David Hampton <hampton at employees.org>
+
+ * configure.in: Remove the stdc++ link requirement from the OFX
+ test. Add the -Wno-pointer-sign flag when using GCC4. With this
+ flag all of gnucash can be compiled with GCC4. (Without it
+ lib/goffice fails.)
+
2005-10-10 Christian Stimming <stimming at tuhh.de>
* src/register/register-gnome/gnucash-grid.c: Patch by Didier
More information about the gnucash-changes
mailing list