Related: fdo#53337 Maybe this is a typeinfo visibility problem

Change-Id: I024de5b400d0f7a443d4cce7bfe4e88841e6049b
This commit is contained in:
Caolán McNamara
2012-08-24 11:01:51 +01:00
parent 768d02c93c
commit 715e2109f6
2 changed files with 14 additions and 0 deletions

View File

@@ -35,9 +35,17 @@
#pragma warning(disable : 4068 4263 4264 4266)
#endif
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
# pragma GCC visibility push (default)
#endif
#include <CLucene.h>
#include <CLucene/analysis/LanguageBasedAnalyzer.h>
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
# pragma GCC visibility pop
#endif
#if defined _MSC_VER
#pragma warning(pop)
#endif

View File

@@ -40,7 +40,13 @@
#pragma warning(disable : 4068 4263 4264 4266)
#endif
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
# pragma GCC visibility push (default)
#endif
#include <CLucene.h>
#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
# pragma GCC visibility pop
#endif
#if defined _MSC_VER
#pragma warning(pop)