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.. -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)
|
||||
|
||||
eltlparsedir = $(pkgincludedir)/eltlparse
|
||||
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ namespace spot
|
|||
/// 0 if the file could not be opened.
|
||||
///
|
||||
/// \warning This function is not reentrant.
|
||||
SPOT_API
|
||||
const formula* parse_file(const std::string& filename,
|
||||
parse_error_list& error_list,
|
||||
environment& env =
|
||||
|
|
@ -71,6 +72,7 @@ namespace spot
|
|||
/// 0 if the input was unparsable.
|
||||
///
|
||||
/// \warning This function is not reentrant.
|
||||
SPOT_API
|
||||
const formula* parse_string(const std::string& eltl_string,
|
||||
parse_error_list& error_list,
|
||||
environment& env =
|
||||
|
|
@ -82,6 +84,7 @@ namespace spot
|
|||
/// \param error_list The error list filled by spot::eltl::parse while
|
||||
/// parsing \a eltl_string.
|
||||
/// \return \c true iff any diagnostic was output.
|
||||
SPOT_API
|
||||
bool
|
||||
format_parse_errors(std::ostream& os,
|
||||
parse_error_list& error_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue