[EMAIL PROTECTED] wrote:
Don't cross post. It's poor netiquette. It also makes it more difficult for
me to reply.
> The subject says it all. What gives ?
LyX 1.3.4 was released before gcc 3.4 but after gcc 3.3. I know that it
does not compile with gcc 3.4. I would expect it to compile with gcc 3.3.
> As I do need lyx 1.3.4, what would be the solution :
> - a pre compiler version ?
> - an older version ?
> - a CVS version ?
JMarc is getting ready to release the BRANCH_1_3_X branch of CVS as
LyX 1.3.5. This does compile with gcc 3.4.
$ cvs checkout -r BRANCH_1_3_X -d 13x lyx-devel
> ../../../../boost/boost/regex/detail/regex_match.hpp:1684: internal
> compiler error: Segmentation fault
Compilers should never ICE. Yuck! I attach the changes to the Boost part of
the sources that have been made since LyX 1.3.4 was released. Nothing in
there strikes me as being relevant to your problem though. I'd complain
loudly to gentoo.
Angus
diff -p -N -r -U 4 -X excl.tmp 134/boost/boost/config/compiler/gcc.hpp 13x/boost/boost/config/compiler/gcc.hpp
--- 134/boost/boost/config/compiler/gcc.hpp 2003-05-27 13:45:50.000000000 +0100
+++ 13x/boost/boost/config/compiler/gcc.hpp 2004-05-03 13:01:17.000000000 +0100
@@ -48,10 +48,10 @@
#if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
# error "Compiler not configured - please reconfigure"
#endif
//
-// last known and checked version is 3.2:
-#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3))
+// last known and checked version is 3.4:
+#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 4))
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# else
# warning "Unknown compiler version - please run the configure tests and report the results"
diff -p -N -r -U 4 -X excl.tmp 134/boost/boost/config/platform/bsd.hpp 13x/boost/boost/config/platform/bsd.hpp
--- 134/boost/boost/config/platform/bsd.hpp 2002-05-22 00:39:55.000000000 +0100
+++ 13x/boost/boost/config/platform/bsd.hpp 2004-03-04 10:53:21.000000000 +0000
@@ -43,9 +43,11 @@
//
// The BSD <ctype.h> has macros only, no functions:
//
-#define BOOST_NO_CTYPE_FUNCTIONS
+#if !defined(__OpenBSD__)
+# define BOOST_NO_CTYPE_FUNCTIONS
+#endif
//
// thread API's not auto detected:
//
diff -p -N -r -U 4 -X excl.tmp 134/boost/boost/format/format_implementation.hpp 13x/boost/boost/format/format_implementation.hpp
--- 134/boost/boost/format/format_implementation.hpp 2002-11-21 18:33:01.000000000 +0000
+++ 13x/boost/boost/format/format_implementation.hpp 2004-05-03 13:01:18.000000000 +0100
@@ -150,9 +150,9 @@ basic_format<Ch,Tr>& basic_format<Ch,Tr>
// cancel the binding of ONE argument, and clear()
{
if(argN<1 || argN > num_args_ || bound_.size()==0 || !bound_[argN-1] )
{
- if( exceptions() & out_of_range_bit )
+ if( exceptions() & io::out_of_range_bit )
boost::throw_exception(io::out_of_range()); // arg not in range.
else return *this;
}
bound_[argN-1]=false;
diff -p -N -r -U 4 -X excl.tmp 134/boost/ChangeLog 13x/boost/ChangeLog
--- 134/boost/ChangeLog 2004-02-03 13:19:02.000000000 +0000
+++ 13x/boost/ChangeLog 2004-05-03 13:01:15.000000000 +0100
@@ -1,4 +1,18 @@
+2004-04-29 Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
+
+ * boost/format/format_implementation.hpp:
+ * boost/config/compiler/gcc.hpp: fix compilation with gcc 3.4
+
+2004-03-26 Angus Leeming <[EMAIL PROTECTED]>
+
+ * libs/regex/Makefile.am: silence automake 1.7 warning by
+ removing trailing backslash from the final line of the file.
+
+2004-03-01 Zvezdan Petkovic <[EMAIL PROTECTED]>
+
+ * boost/config/platform/bsd.hpp: config fix for OpenBSD
+
2004-02-03 Angus Leeming <[EMAIL PROTECTED]>
* boost/detail/limits.hpp: add support for Itanium machines.
diff -p -N -r -U 4 -X excl.tmp 134/boost/libs/regex/src/Makefile.am 13x/boost/libs/regex/src/Makefile.am
--- 134/boost/libs/regex/src/Makefile.am 2002-11-07 15:24:06.000000000 +0000
+++ 13x/boost/libs/regex/src/Makefile.am 2004-04-07 09:33:25.000000000 +0100
@@ -18,5 +18,5 @@ libboostregex_la_SOURCES = \
# posix_api.cpp \
# wide_posix_api.cpp \
# regex_debug.cpp
-# winstances.cpp \
+# winstances.cpp