Use -fvisibility=hidden globally.
* configure.ac: Check for flags and fill CXXFLAGS and CFLAGS. * iface/dve2/dve2.hh: Mark load_dve2 for export. * src/eltlparse/Makefile.am, src/kripke/Makefile.am, src/kripkeparse/Makefile.am, src/ltlast/Makefile.am, src/ltlenv/Makefile.am, src/ltlparse/Makefile.am, src/ltlvisit/Makefile.am, src/misc/Makefile.am, src/neverparse/Makefile.am, src/priv/Makefile.am, src/saba/Makefile.am, src/sabaalgos/Makefile.am, src/ta/Makefile.am, src/taalgos/Makefile.am, src/tgba/Makefile.am, src/tgbaalgos/Makefile.am, src/tgbaalgos/gtec/Makefile.am, src/tgbaparse/Makefile.am: Remove $(VISIBILITY_CXXFLAGS) now that it is set globally.
This commit is contained in:
parent
f8cdaf0c12
commit
43b3df0ef0
20 changed files with 42 additions and 38 deletions
|
|
@ -58,15 +58,16 @@ AC_PROG_YACC
|
||||||
|
|
||||||
gl_INIT
|
gl_INIT
|
||||||
|
|
||||||
AC_LANG(C++)
|
|
||||||
|
|
||||||
# Use -Werror since using -fvisibility under MinGW is only a warning.
|
# Use -Werror since using -fvisibility under MinGW is only a warning.
|
||||||
# (The option is ignored anyway since this does not make sense under windows).
|
# (The option is ignored anyway since this does not make sense under windows).
|
||||||
AC_SUBST([VISIBILITY_CXXFLAGS])
|
|
||||||
AX_CHECK_COMPILE_FLAG([-Werror -fvisibility=hidden],
|
AX_CHECK_COMPILE_FLAG([-Werror -fvisibility=hidden],
|
||||||
[VISIBILITY_CXXFLAGS="$VISIBILITY_CXXFLAGS -fvisibility=hidden -DSPOT_BUILD"
|
[CFLAGS="$CFLAGS -fvisibility=hidden"])
|
||||||
|
AC_LANG(C++)
|
||||||
|
AX_CHECK_COMPILE_FLAG([-Werror -fvisibility=hidden],
|
||||||
|
[CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
|
||||||
AX_CHECK_COMPILE_FLAG([-fvisibility-inlines-hidden],
|
AX_CHECK_COMPILE_FLAG([-fvisibility-inlines-hidden],
|
||||||
[VISIBILITY_CXXFLAGS="$VISIBILITY_CXXFLAGS -fvisibility-inlines-hidden"])])
|
[CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden -DSPOT_BUILD"])])
|
||||||
|
|
||||||
AC_HEADER_UNORDERED_MAP
|
AC_HEADER_UNORDERED_MAP
|
||||||
AC_HEADER_TR1_UNORDERED_MAP
|
AC_HEADER_TR1_UNORDERED_MAP
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2011 Laboratoire de Recherche et Developpement
|
// Copyright (C) 2011, 2013 Laboratoire de Recherche et Developpement
|
||||||
// de l'Epita (LRDE)
|
// de l'Epita (LRDE)
|
||||||
//
|
//
|
||||||
// This file is part of Spot, a model checking library.
|
// This file is part of Spot, a model checking library.
|
||||||
|
|
@ -55,12 +55,11 @@ namespace spot
|
||||||
// \a dead an atomic proposition or constant to use for looping on
|
// \a dead an atomic proposition or constant to use for looping on
|
||||||
// dead states
|
// dead states
|
||||||
// \a verbose whether to output verbose messages
|
// \a verbose whether to output verbose messages
|
||||||
kripke* load_dve2(const std::string& file,
|
SPOT_API kripke*
|
||||||
bdd_dict* dict,
|
load_dve2(const std::string& file, bdd_dict* dict,
|
||||||
const ltl::atomic_prop_set* to_observe,
|
const ltl::atomic_prop_set* to_observe,
|
||||||
const ltl::formula* dead = ltl::constant::true_instance(),
|
const ltl::formula* dead = ltl::constant::true_instance(),
|
||||||
int compress = 0,
|
int compress = 0, bool verbose = true);
|
||||||
bool verbose = true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SPOT_IFACE_DVE2_DVE2_HH
|
#endif // SPOT_IFACE_DVE2_DVE2_HH
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. -DYY_NO_INPUT
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. -DYY_NO_INPUT
|
||||||
# Disable -Werror because too many versions of flex yield warnings.
|
# Disable -Werror because too many versions of flex yield warnings.
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=)
|
||||||
|
|
||||||
eltlparsedir = $(pkgincludedir)/eltlparse
|
eltlparsedir = $(pkgincludedir)/eltlparse
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
kripkedir = $(pkgincludedir)/kripke
|
kripkedir = $(pkgincludedir)/kripke
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
|
AM_CPPFLAGS = -I$(srcdir)/.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
|
||||||
# Disable -Werror because too many versions of flex yield warnings.
|
# Disable -Werror because too many versions of flex yield warnings.
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=)
|
||||||
|
|
||||||
kripkeparsedir = $(pkgincludedir)/kripkeparse
|
kripkeparsedir = $(pkgincludedir)/kripkeparse
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I..
|
AM_CPPFLAGS = -I$(srcdir)/.. -I..
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
ltlastdir = $(pkgincludedir)/ltlast
|
ltlastdir = $(pkgincludedir)/ltlast
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
## Copyright (C) 2003, 2004, 2013 Laboratoire d'Informatique de Paris 6 (LIP6),
|
## -*- coding: utf-8 -*-
|
||||||
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
## Copyright (C) 2013 Laboratoire de Recherche et Développement de
|
||||||
|
## l'Epita (LRDE).
|
||||||
|
## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
|
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
## et Marie Curie.
|
## et Marie Curie.
|
||||||
##
|
##
|
||||||
## This file is part of Spot, a model checking library.
|
## This file is part of Spot, a model checking library.
|
||||||
|
|
@ -18,7 +21,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/..
|
AM_CPPFLAGS = -I$(srcdir)/..
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
ltlenvdir = $(pkgincludedir)/ltlenv
|
ltlenvdir = $(pkgincludedir)/ltlenv
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
|
## -*- coding: utf-8 -*-
|
||||||
## Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 Laboratoire de
|
## Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 Laboratoire de
|
||||||
## Recherche et Développement de l'Epita (LRDE).
|
## Recherche et Développement de l'Epita (LRDE).
|
||||||
## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris
|
## Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris
|
||||||
## 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
## 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||||
## Université Pierre et Marie Curie.
|
## Université Pierre et Marie Curie.
|
||||||
##
|
##
|
||||||
## This file is part of Spot, a model checking library.
|
## This file is part of Spot, a model checking library.
|
||||||
##
|
##
|
||||||
|
|
@ -21,7 +22,7 @@
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir)/.. -I.. -DYY_NO_INPUT
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir)/.. -I.. -DYY_NO_INPUT
|
||||||
# Disable -Werror because too many versions of flex yield warnings.
|
# Disable -Werror because too many versions of flex yield warnings.
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=)
|
||||||
|
|
||||||
ltlparsedir = $(pkgincludedir)/ltlparse
|
ltlparsedir = $(pkgincludedir)/ltlparse
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
## -*- coding: utf-8 -*-
|
## -*- coding: utf-8 -*-
|
||||||
## Copyright (C) 2010, 2011, 2012, 2013 Laboratoire de Recherche et
|
## Copyright (C) 2010, 2011, 2012, 2013 Laboratoire de Recherche et
|
||||||
## Developpement de l'Epita (LRDE).
|
## Developpement de l'Epita (LRDE).
|
||||||
## Copyright (C) 2004, 2005, 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
|
## Copyright (C) 2004, 2005, 2006 Laboratoire d'Informatique de Paris
|
||||||
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
## 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||||
## et Marie Curie.
|
## Université Pierre et Marie Curie.
|
||||||
##
|
##
|
||||||
## This file is part of Spot, a model checking library.
|
## This file is part of Spot, a model checking library.
|
||||||
##
|
##
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
ltlvisitdir = $(pkgincludedir)/ltlvisit
|
ltlvisitdir = $(pkgincludedir)/ltlvisit
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
miscdir = $(pkgincludedir)/misc
|
miscdir = $(pkgincludedir)/misc
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
|
||||||
# Disable -Werror because too many versions of flex yield warnings.
|
# Disable -Werror because too many versions of flex yield warnings.
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=)
|
||||||
|
|
||||||
neverparsedir = $(pkgincludedir)/neverparse
|
neverparsedir = $(pkgincludedir)/neverparse
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
acccompl.hh \
|
acccompl.hh \
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
sabadir = $(pkgincludedir)/saba
|
sabadir = $(pkgincludedir)/saba
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
sabaalgosdir = $(pkgincludedir)/sabaalgos
|
sabaalgosdir = $(pkgincludedir)/sabaalgos
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
tadir = $(pkgincludedir)/ta
|
tadir = $(pkgincludedir)/ta
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
## Copyright (C) 2010, 2012, 2013 Laboratoire de Recherche et
|
## Copyright (C) 2010, 2012, 2013 Laboratoire de Recherche et
|
||||||
## Développement de l'Epita (LRDE).
|
## Développement de l'Epita (LRDE).
|
||||||
##
|
##
|
||||||
## This file is part of Spot, a model checking library.et Marie Curie.
|
## This file is part of Spot, a model checking library.
|
||||||
##
|
##
|
||||||
## Spot is free software; you can redistribute it and/or modify it
|
## Spot is free software; you can redistribute it and/or modify it
|
||||||
## under the terms of the GNU General Public License as published by
|
## under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
taalgosdir = $(pkgincludedir)/taalgos
|
taalgosdir = $(pkgincludedir)/taalgos
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
tgbadir = $(pkgincludedir)/tgba
|
tgbadir = $(pkgincludedir)/tgba
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
SUBDIRS = gtec
|
SUBDIRS = gtec
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
tgbaalgosdir = $(pkgincludedir)/tgbaalgos
|
tgbaalgosdir = $(pkgincludedir)/tgbaalgos
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/../.. -I../.. $(BUDDY_CPPFLAGS)
|
AM_CPPFLAGS = -I$(srcdir)/../.. -I../.. $(BUDDY_CPPFLAGS)
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||||
|
|
||||||
gtecdir = $(pkgincludedir)/tgbaalgos/gtec
|
gtecdir = $(pkgincludedir)/tgbaalgos/gtec
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
|
AM_CPPFLAGS = -I$(srcdir)/.. -I.. $(BUDDY_CPPFLAGS) -DYY_NO_INPUT
|
||||||
# Disable -Werror because too many versions of flex yield warnings.
|
# Disable -Werror because too many versions of flex yield warnings.
|
||||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=) $(VISIBILITY_CXXFLAGS)
|
AM_CXXFLAGS = $(WARNING_CXXFLAGS:-Werror=)
|
||||||
|
|
||||||
tgbaparsedir = $(pkgincludedir)/tgbaparse
|
tgbaparsedir = $(pkgincludedir)/tgbaparse
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue