Jean-Marc Lasgouttes wrote:
> Angus> Yes, but why? What is in config.h that is making the
> Angus> difference?
> 
> I have to admit that I have no idea. My reasoning is:
> 
> 1/ it fixed one case
> 2/ it is good to do it anyway
> 
> but I cannot come up with anything more useful, sorry.

Ok. However, the undefined boost symbols like
__ZN5boost7signals9trackableD2Ev are in the generated boost library
files. I believe that Lars added some strange magic in LyX 1.4 to
ensure that our config.h is visible to these files when they are
compiled. I also believe that this same magic isn't present in LyX
1.3. 

That means that Bennett's not going to succeed in getting his stuff to
link just by adding config.h to our own .C files.

Note how the build process has flagged our config.h as a dependency in
the compilation of the 1.4 version of Boost.Regex but that there's no
such dependency in the 1.3 version:

$ grep 'src\/config\.h' devel/build/boost/libs/regex/src/.deps/* | \
  cut -d':' -f1 | sort -u
devel/build/boost/libs/regex/src/.deps/c_regex_traits.Plo
devel/build/boost/libs/regex/src/.deps/c_regex_traits_common.Plo
devel/build/boost/libs/regex/src/.deps/cpp_regex_traits.Plo
devel/build/boost/libs/regex/src/.deps/cregex.Plo
devel/build/boost/libs/regex/src/.deps/fileiter.Plo
devel/build/boost/libs/regex/src/.deps/instances.Plo
devel/build/boost/libs/regex/src/.deps/regex.Plo
devel/build/boost/libs/regex/src/.deps/regex_synch.Plo
devel/build/boost/libs/regex/src/.deps/w32_regex_traits.Plo

$ grep 'src\/config\.h' 13x/build-qt/boost/libs/regex/src/.deps/* |
cut -d':' -f1 | sort -u

-- 
Angus

Reply via email to