Jean-Marc Lasgouttes wrote: >>>>>> Rob Lahaye writes: > > Rob> Yep, that solves the problem; not that I know what I'm doing > Rob> though. But LyX compiles like a charm! > > Rob> Can you explain a little? Is this a bug, or a misbehaving feature > Rob> of FreeBSD, or perhaps LyX or gcc? > > I think this is a bug of gcc on freebsd. These things turn on some > recent (gcc 3.3 or 3.4) debug features of the C++ standard library. > > It seems that at least one of these is broken. If you have time, you > could try to turn them off one by one and see which one is the > culprit.
It's because of both, _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC. > Rob> Even more important: how can I tell the configure script to never > Rob> set these #def directives again in the future? > > use --disable-stdlib-debug and/or --disable-concept-checks. Using --disable-stdlib-debug is enough to solve the problem. Does that make sense? Rob.