mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
fix linking problem with boost
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5629 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e33bbc78ae
commit
b0babedcb7
@ -1,3 +1,7 @@
|
|||||||
|
2002-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* lyxsum.C: an ugly hack to compile with non-gnu linkers
|
||||||
|
|
||||||
2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
|
2002-11-12 Angus Leeming <aleem@pneumon.bg.ic.ac.uk>
|
||||||
|
|
||||||
* lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
|
* lstrings.C (getVectorFromString): #if 0 -> #if 1 until Lars devises
|
||||||
|
@ -18,6 +18,15 @@
|
|||||||
|
|
||||||
using std::endl;
|
using std::endl;
|
||||||
|
|
||||||
|
// OK, this is ugly, but it is the only workaround I found to compile
|
||||||
|
// with gcc (any version) on a system which uses a non-GNU toolchain.
|
||||||
|
// The problem is that gcc uses a weak symbol for a particular
|
||||||
|
// instantiation and that the system linker usually does not
|
||||||
|
// understand those weak symbols (seen on HP-UX, tru64, AIX and
|
||||||
|
// others). Thus we force an explicit instanciation of this particular
|
||||||
|
// template (JMarc)
|
||||||
|
template class boost::detail::crc_table_t<32, 0x04C11DB7, true>;
|
||||||
|
|
||||||
// Various implementations of lyx::sum(), depending on what methods
|
// Various implementations of lyx::sum(), depending on what methods
|
||||||
// are available. Order is faster to slowest.
|
// are available. Order is faster to slowest.
|
||||||
#if defined(HAVE_MMAP) && defined(HAVE_MUNMAP)
|
#if defined(HAVE_MMAP) && defined(HAVE_MUNMAP)
|
||||||
|
Loading…
Reference in New Issue
Block a user