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:
parent
8c2d7fcb7f
commit
f53328a8c7
11 changed files with 33 additions and 20 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(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)
|
||||
|
||||
tgbaparsedir = $(pkgincludedir)/tgbaparse
|
||||
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ namespace spot
|
|||
/// was parsed succesfully, check \a error_list for emptiness.
|
||||
///
|
||||
/// \warning This function is not reentrant.
|
||||
SPOT_API
|
||||
tgba_explicit_string* tgba_parse(const std::string& filename,
|
||||
tgba_parse_error_list& error_list,
|
||||
bdd_dict* dict,
|
||||
|
|
@ -80,6 +81,7 @@ namespace spot
|
|||
/// \param error_list The error list filled by spot::ltl::parse while
|
||||
/// parsing \a ltl_string.
|
||||
/// \return \c true iff any diagnostic was output.
|
||||
SPOT_API
|
||||
bool format_tgba_parse_errors(std::ostream& os,
|
||||
const std::string& filename,
|
||||
tgba_parse_error_list& error_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue