mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
Improve ABI checking
This commit is contained in:
parent
bda683f786
commit
cb3f32383e
@ -1,3 +1,9 @@
|
||||
2005-08-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/glib.symbols: Include glib_on_error_halt.
|
||||
|
||||
* glib/abicheck.sh: Also check exported variables.
|
||||
|
||||
2005-08-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tests/refcount/closures.c: remove unused n_threads variable.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-08-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/glib.symbols: Include glib_on_error_halt.
|
||||
|
||||
* glib/abicheck.sh: Also check exported variables.
|
||||
|
||||
2005-08-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tests/refcount/closures.c: remove unused n_threads variable.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-08-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/glib.symbols: Include glib_on_error_halt.
|
||||
|
||||
* glib/abicheck.sh: Also check exported variables.
|
||||
|
||||
2005-08-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tests/refcount/closures.c: remove unused n_threads variable.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-08-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/glib.symbols: Include glib_on_error_halt.
|
||||
|
||||
* glib/abicheck.sh: Also check exported variables.
|
||||
|
||||
2005-08-05 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* tests/refcount/closures.c: remove unused n_threads variable.
|
||||
|
@ -5,9 +5,9 @@ egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
|
||||
INCLUDES="-include ${top_builddir:-..}/config.h"
|
||||
INCLUDES="$INCLUDES -include glibconfig.cpp"
|
||||
|
||||
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}/glib.symbols" | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
|
||||
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}/glib.symbols" | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
|
||||
rm glibconfig.cpp
|
||||
|
||||
nm -D .libs/libglib-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
|
||||
nm -D .libs/libglib-2.0.so | grep -v " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
|
||||
|
||||
diff -u expected-abi actual-abi && rm expected-abi actual-abi
|
||||
|
@ -1261,5 +1261,6 @@ glib_major_version
|
||||
glib_mem_profiler_table
|
||||
glib_micro_version
|
||||
glib_minor_version
|
||||
glib_on_error_halt
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user