On Fri, Feb 14, 2003 at 10:11:14AM +1100, Amir Michail wrote:
> We tried to write a LyX 1.3.0 template for DRT, but found
> that the source no longer compiles with CXXFLAGS=-finstrument-functions.
> This used to work with LyX 1.2.1. Here is the error (with Qt frontend):
>
> /usr/include/string.h:229: declaration of `char *strerror (int) throw
> ()' throws different exceptions
> ../../src/config.h:428: than previous declaration `char *strerror
> (int)'
Remember to autogen.sh and configure again after applying this
Index: configure.ac
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/configure.ac,v
retrieving revision 1.23
diff -u -r1.23 configure.ac
--- configure.ac30 Jan 2003 10:05:18 - 1.23
+++ configure.ac7 Feb 2003 10:39:25 -
@@ -238,7 +238,7 @@
AC_TYPE_SIZE_T
AC_TYPE_UID_T
-AC_CHECK_FUNCS(snprintf vsnprintf)
+AC_CHECK_FUNCS(snprintf vsnprintf strerror)
LYX_CHECK_DECL(snprintf, stdio.h)
LYX_CHECK_DECL(vsnprintf, stdio.h)
LYX_CHECK_DECL(istreambuf_iterator, iterator)
Index: configure.in
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/configure.in,v
retrieving revision 1.16
diff -u -r1.16 configure.in
--- configure.in30 Jan 2003 10:05:18 - 1.16
+++ configure.in7 Feb 2003 10:39:26 -
@@ -243,7 +243,7 @@
AC_TYPE_SIZE_T
AC_TYPE_UID_T
-AC_CHECK_FUNCS(snprintf vsnprintf)
+AC_CHECK_FUNCS(snprintf vsnprintf strerror)
LYX_CHECK_DECL(snprintf, stdio.h)
LYX_CHECK_DECL(vsnprintf, stdio.h)
LYX_CHECK_DECL(istreambuf_iterator, iterator)