Use -fvisibility=hidden for all parsers.

* src/eltlparse/Makefile.am, src/kripkeparse/Makefile.am,
src/ltlparse/Makefile.am, src/neverparse/Makefile.am,
src/tgbaparse/Makefile.am: Use $(VISIBILITY_CXXFLAGS)
* src/eltlparse/public.hh, src/kripkeparse/public.hh,
src/ltlparse/ltlfile.hh, src/ltlparse/public.hh,
src/neverparse/public.hh, src/tgbaparse/public.hh:
Mark public symbols with SPOT_API.
This commit is contained in:
Alexandre Duret-Lutz 2013-06-28 18:28:35 +02:00
parent 8c2d7fcb7f
commit f53328a8c7
11 changed files with 33 additions and 20 deletions

View file

@ -18,7 +18,7 @@
AM_CPPFLAGS = -I$(srcdir)/.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
# Disable -Werror because too many versions of flex yield warnings.
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=)
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=) $(VISIBILITY_CXXFLAGS)
kripkeparsedir = $(pkgincludedir)/kripkeparse

View file

@ -38,7 +38,7 @@ namespace spot
kripke_explicit*
SPOT_API kripke_explicit*
kripke_parse(const std::string& name,
kripke_parse_error_list& error_list,
bdd_dict* dict,
@ -53,6 +53,7 @@ namespace spot
/// \param error_list The error list filled by spot::ltl::parse while
/// parsing \a ltl_string.
/// \return \c true if any diagnostic was output.
SPOT_API
bool format_kripke_parse_errors(std::ostream& os,
const std::string& filename,
kripke_parse_error_list& error_list);