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
|
|
@ -19,7 +19,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)
|
||||
|
||||
neverparsedir = $(pkgincludedir)/neverparse
|
||||
|
||||
|
|
|
|||
|
|
@ -55,14 +55,13 @@ namespace spot
|
|||
/// was parsed succesfully, check \a error_list for emptiness.
|
||||
///
|
||||
/// \warning This function is not reentrant.
|
||||
tgba_explicit_string* neverclaim_parse(
|
||||
const std::string& filename,
|
||||
neverclaim_parse_error_list&
|
||||
error_list,
|
||||
bdd_dict* dict,
|
||||
ltl::environment& env
|
||||
= ltl::default_environment::instance(),
|
||||
bool debug = false);
|
||||
SPOT_API tgba_explicit_string*
|
||||
neverclaim_parse(const std::string& filename,
|
||||
neverclaim_parse_error_list&
|
||||
error_list,
|
||||
bdd_dict* dict,
|
||||
ltl::environment& env = ltl::default_environment::instance(),
|
||||
bool debug = false);
|
||||
|
||||
/// \brief Format diagnostics produced by spot::neverclaim_parse.
|
||||
/// \param os Where diagnostics should be output.
|
||||
|
|
@ -70,9 +69,10 @@ 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.
|
||||
bool format_neverclaim_parse_errors(std::ostream& os,
|
||||
const std::string& filename,
|
||||
neverclaim_parse_error_list& error_list);
|
||||
SPOT_API bool
|
||||
format_neverclaim_parse_errors(std::ostream& os,
|
||||
const std::string& filename,
|
||||
neverclaim_parse_error_list& error_list);
|
||||
/// @}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue