]> git.lyx.org Git - features.git/commitdiff
Remove old workaround that is not needed anymore
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 3 Nov 2018 14:29:10 +0000 (14:29 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 13 Dec 2018 09:39:58 +0000 (10:39 +0100)
This causes a compilation error with boost 1.69.

Fixes bug #11349.

(cherry picked from commit 76e99e9a20cf635d20effa597551f3a9af484465)

src/support/FileName.cpp
status.23x

index 189c5645a459ac0ae4d9d72e46188a2ed482a2df..890c95af106bb61f554c9d99ee8418d350a8c681 100644 (file)
 using namespace std;
 using namespace lyx::support;
 
-// 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 struct boost::detail::crc_table_t<32, 0x04C11DB7, true>;
-
 namespace lyx {
 namespace support {
 
index 7a2970d80ce22e72cc8e8118b6cf6a3a1d8f5318..44e2b2e35af73a37b53500b8db770ffc0a648532 100644 (file)
@@ -81,3 +81,4 @@ What's new
 
 * BUILD/INSTALLATION
 
+- Fix build with boost 1.69 (bug 11349).