Hello, While trying to build Nemiver on a recent Fedora Rawhide, I realized that glibmm-2.4 version 2.30.0 is using constructs that are deprecated in glib-2.0 2.31.0. I guess the glibmm package just needs an update.
But in a mean time, I found this annoying enough - as I build locally with -Werror - that I am teaching the build system to detect this state of things and to define GLIB_DISABLE_DEPRECATION_WARNINGS in that case. For that, I had to include the config.h file (that contains a bunch of system macro definitions, including this GLIB_DISABLE_DEPRECATION_WARNINGS) to a number of files. I also noticed that the gdk_window_get_pointer call is deprecated in gtk+ >= 3.0.0 and I am getting a warning for it. I have replaced that call to the newer gdk_event_get_device_position, when we build on gtk+ >= 3. Tested and applied to master. commit 53274a7ae37e4eab9e66f6464c39a7649ac3e776 Author: Dodji Seketeli <[email protected]> Date: Sun Nov 20 11:45:57 2011 +0100 Handle deprecated functions on glibmm-2.4 2.30.0 and glib-2.0 2.31.0 * configure.ac: Define GLIB_DISABLE_DEPRECATION_WARNINGS if we detect that we are building against a combination of glibmm/glib that uses deprecated functions. Update report at the end of configure. * src/persp/dbgperspective/nmv-dbg-perspective.cc (DBGPerspective::on_motion_notify_event_signal): Use the new gdk_event_get_device_position on gtk+ >= 3.0.0 instead of the deprecated gdk_window_get_pointer. Include config.h as the first header in the translation unit. * src/common/nmv-conf-manager.cc: Include config.h as the first header in the translation unit. * src/common/nmv-connection-manager.cc: Likewise. * src/common/nmv-connection.cc: Likewise. * src/common/nmv-date-utils.cc: Likewise. * src/common/nmv-delete-statement.cc: Likewise. * src/common/nmv-dynamic-module.cc: Likewise. * src/common/nmv-env.cc: Likewise. * src/common/nmv-exception.cc: Likewise. * src/common/nmv-initializer.cc: Likewise. * src/common/nmv-insert-statement.cc: Likewise. * src/common/nmv-log-stream.cc: Likewise. * src/common/nmv-option-utils.cc: Likewise. * src/common/nmv-parsing-utils.cc: Likewise. * src/common/nmv-plugin.cc: Likewise. * src/common/nmv-proc-mgr.cc: Likewise. * src/common/nmv-proc-utils.cc: Likewise. * src/common/nmv-scope-logger.cc: Likewise. * src/common/nmv-sql-statement.cc: Likewise. * src/common/nmv-str-utils.cc: Likewise. * src/common/nmv-tools.cc: Likewise. * src/common/nmv-transaction.cc: Likewise. * src/common/nmv-ustring.cc: Likewise. * src/confmgr/nmv-gsettings-mgr.cc: Likewise. * src/dbgengine/nmv-cpp-trait.cc: Likewise. * src/dbgengine/nmv-dbg-common.cc: Likewise. * src/dbgengine/nmv-gdbmi-parser.cc: Likewise. * src/persp/dbgperspective/nmv-breakpoints-view.cc: Likewise. * src/persp/dbgperspective/nmv-call-function-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-call-stack.cc: Likewise. * src/persp/dbgperspective/nmv-choose-overloads-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-file-list.cc: Likewise. * src/persp/dbgperspective/nmv-find-text-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-load-core-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-memory-view.cc: Likewise. * src/persp/dbgperspective/nmv-open-file-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-preferences-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-proc-list-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-registers-view.cc: Likewise. * src/persp/dbgperspective/nmv-remote-target-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-run-program-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-saved-sessions-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-sess-mgr.cc: Likewise. * src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-set-jump-to-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-thread-list.cc: Likewise. * src/persp/dbgperspective/nmv-var-inspector-dialog.cc: Likewise. * src/persp/dbgperspective/nmv-vars-treeview.cc: Likewise. * src/persp/dbgperspective/nmv-watchpoint-dialog.cc: Likewise. * src/uicommon/nmv-dialog.cc: Likewise. * src/uicommon/nmv-hex-editor.cc: Likewise. * src/uicommon/nmv-layout-manager.cc: Likewise. * src/uicommon/nmv-layout-selector.cc: Likewise. * src/uicommon/nmv-locate-file-dialog.cc: Likewise. * src/uicommon/nmv-popup-tip.cc: Likewise. * src/uicommon/nmv-spinner-tool-item.cc: Likewise. * src/uicommon/nmv-terminal.cc: Likewise. * src/uicommon/nmv-ui-utils.cc: Likewise. * tests/gtkmm-test.cc: Likewise. * tests/test-breakpoint.cc: Likewise. * tests/test-core.cc: Likewise. * tests/test-cpp-lexer.cc: Likewise. * tests/test-cpp-parser.cc: Likewise. * tests/test-deref.cc: Likewise. * tests/test-disassemble.cc: Likewise. * tests/test-env.cc: Likewise. * tests/test-libtool-wrapper-detection.cc: Likewise. * tests/test-local-vars-list.cc: Likewise. * tests/test-stdout.cc: Likewise. * tests/test-types.cc: Likewise. * tests/test-unicode.cc: Likewise. * tests/test-var-list.cc: Likewise. * tests/test-var-path-expr.cc: Likewise. * tests/test-var-walker.cc: Likewise. * tests/test-variable-format.cc: Likewise. * tests/test-varobj-walker.cc: Likewise. * tests/test-vars.cc: Likewise. * tests/test-watchpoint.cc: Likewise. diff --git a/configure.ac b/configure.ac index b53a722..2cb2609 100644 --- a/configure.ac +++ b/configure.ac @@ -248,6 +248,18 @@ AC_CHECK_HEADERS([boost/variant.hpp], #dnl checking for non-aggregated lib PKG_CHECK_MODULES(SQLITE3, [sqlite3 >= $SQLITE3_VERSION]) +dnl glibmm-2.4 version 2.30.0 uses many deprecated functions from +dnl glib-2.0 version 2.31.0 if we are building against such a +dnl combination, we need to define GLIB_DISABLE_DEPRECATION_WARNINGS +dnl to shut the compilation warnigs down. +PKG_CHECK_EXISTS([glib-2.0 >= 2.31.0 glibmm-2.4 <= 2.30.0], + [GLIBMM_USES_DEPRECATED_GLIB_FUNCS=yes], + [GLIBMM_USES_DEPRECATED_GLIB_FUNCS=no]) +if test x$GLIBMM_USES_DEPRECATED_GLIB_FUNCS = xyes; then + AC_DEFINE(GLIB_DISABLE_DEPRECATION_WARNINGS,1,[disables glib deprecation warnings]) + AC_MSG_NOTICE(glibmm uses deprecated glib functions!) +fi + ####################################################### #boost build system sucks no end. #it is damn hard to detect the version of boost @@ -497,17 +509,18 @@ AC_MSG_NOTICE([ ================================================================= Here is the configuration of the package: - Prefix : ${prefix} - Source code location : ${srcdir} - C Compiler : ${CC} - C++ Compiler : ${CXX} - - NEMIVER_DEVEL env var : ${NEMIVER_DEVEL} - NEMIVER_ALLOW_WARNINGS env var : ${NEMIVER_ALLOW_WARNINGS} - CFLAGS : ${CFLAGS} - CXXFLAGS : ${CXXFLAGS} - NEMIVER_LIBS : ${NEMIVER_LIBS} - NEMIVER_CFLAGS : ${NEMIVER_CFLAGS} + Prefix : ${prefix} + Source code location : ${srcdir} + C Compiler : ${CC} + C++ Compiler : ${CXX} + + NEMIVER_DEVEL env var : ${NEMIVER_DEVEL} + NEMIVER_ALLOW_WARNINGS env var : ${NEMIVER_ALLOW_WARNINGS} + CFLAGS : ${CFLAGS} + CXXFLAGS : ${CXXFLAGS} + NEMIVER_LIBS : ${NEMIVER_LIBS} + NEMIVER_CFLAGS : ${NEMIVER_CFLAGS} + GLIBMM_USES_DEPRECATED_GLIB_FUNCS : ${GLIBMM_USES_DEPRECATED_GLIB_FUNCS} OPTIONAL FEATURES: Enable autotests : ${ENABLE_AUTOTESTS} diff --git a/src/common/nmv-conf-manager.cc b/src/common/nmv-conf-manager.cc index be9d3d5..854b76a 100644 --- a/src/common/nmv-conf-manager.cc +++ b/src/common/nmv-conf-manager.cc @@ -24,6 +24,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <cstring> #include <glib.h> #include <glib/gstdio.h> diff --git a/src/common/nmv-connection-manager.cc b/src/common/nmv-connection-manager.cc index 35520e4..53388e5 100644 --- a/src/common/nmv-connection-manager.cc +++ b/src/common/nmv-connection-manager.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <cstdlib> #include <cstring> #include <gmodule.h> diff --git a/src/common/nmv-connection.cc b/src/common/nmv-connection.cc index 50d96d1..8d7f5e3 100644 --- a/src/common/nmv-connection.cc +++ b/src/common/nmv-connection.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-connection.h" #include "nmv-i-connection-driver.h" #include "nmv-exception.h" diff --git a/src/common/nmv-date-utils.cc b/src/common/nmv-date-utils.cc index 03141f8..ca9bcca 100644 --- a/src/common/nmv-date-utils.cc +++ b/src/common/nmv-date-utils.cc @@ -27,6 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include "config.h" #include <cstring> #include "nmv-ustring.h" #include "nmv-date-utils.h" diff --git a/src/common/nmv-delete-statement.cc b/src/common/nmv-delete-statement.cc index 578e62b..d68c1fb 100644 --- a/src/common/nmv-delete-statement.cc +++ b/src/common/nmv-delete-statement.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-ustring.h" #include "nmv-exception.h" #include "nmv-delete-statement.h" diff --git a/src/common/nmv-dynamic-module.cc b/src/common/nmv-dynamic-module.cc index 180be4e..f755f5c 100644 --- a/src/common/nmv-dynamic-module.cc +++ b/src/common/nmv-dynamic-module.cc @@ -29,6 +29,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include "config.h" #include <string> #include <map> #include <glibmm.h> diff --git a/src/common/nmv-env.cc b/src/common/nmv-env.cc index 6a0b569..6804cd2 100644 --- a/src/common/nmv-env.cc +++ b/src/common/nmv-env.cc @@ -27,6 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include "config.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/src/common/nmv-exception.cc b/src/common/nmv-exception.cc index 00e606f..cc17140 100644 --- a/src/common/nmv-exception.cc +++ b/src/common/nmv-exception.cc @@ -27,7 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ - +#include "config.h" #include "nmv-exception.h" using namespace std; diff --git a/src/common/nmv-initializer.cc b/src/common/nmv-initializer.cc index 4029323..d591ab9 100644 --- a/src/common/nmv-initializer.cc +++ b/src/common/nmv-initializer.cc @@ -21,6 +21,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <locale.h> #include <glibmm.h> #include <libxml/parser.h> diff --git a/src/common/nmv-insert-statement.cc b/src/common/nmv-insert-statement.cc index 7f2e7c9..5d590c3 100644 --- a/src/common/nmv-insert-statement.cc +++ b/src/common/nmv-insert-statement.cc @@ -23,7 +23,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include "nmv-ustring.h" #include "nmv-log-stream-utils.h" #include "nmv-exception.h" diff --git a/src/common/nmv-log-stream.cc b/src/common/nmv-log-stream.cc index 123e315..0914a46 100644 --- a/src/common/nmv-log-stream.cc +++ b/src/common/nmv-log-stream.cc @@ -27,6 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include "config.h" #include <cstring> #include <sys/time.h> #include <iostream> diff --git a/src/common/nmv-option-utils.cc b/src/common/nmv-option-utils.cc index 6646810..38df172 100644 --- a/src/common/nmv-option-utils.cc +++ b/src/common/nmv-option-utils.cc @@ -21,7 +21,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include "nmv-option-utils.h" namespace nemiver { diff --git a/src/common/nmv-parsing-utils.cc b/src/common/nmv-parsing-utils.cc index a5eff7d..451a0cd 100644 --- a/src/common/nmv-parsing-utils.cc +++ b/src/common/nmv-parsing-utils.cc @@ -23,7 +23,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <ctype.h> #include <vector> #include "nmv-exception.h" diff --git a/src/common/nmv-plugin.cc b/src/common/nmv-plugin.cc index d38b6c1..df927bf 100644 --- a/src/common/nmv-plugin.cc +++ b/src/common/nmv-plugin.cc @@ -27,7 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ - +#include "config.h" #include <glibmm.h> #include "nmv-libxml-utils.h" #include "nmv-exception.h" diff --git a/src/common/nmv-proc-mgr.cc b/src/common/nmv-proc-mgr.cc index e732d0e..5eb776d 100644 --- a/src/common/nmv-proc-mgr.cc +++ b/src/common/nmv-proc-mgr.cc @@ -23,6 +23,7 @@ *See COPYRIGHT file copyright information. */ +#include "config.h" #include <algorithm> extern "C" { #include "glibtop.h" diff --git a/src/common/nmv-proc-utils.cc b/src/common/nmv-proc-utils.cc index 1d88e43..c6fc315 100644 --- a/src/common/nmv-proc-utils.cc +++ b/src/common/nmv-proc-utils.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <cstring> #include <ctype.h> #include <unistd.h> diff --git a/src/common/nmv-scope-logger.cc b/src/common/nmv-scope-logger.cc index f76fd37..20bfe5a 100644 --- a/src/common/nmv-scope-logger.cc +++ b/src/common/nmv-scope-logger.cc @@ -27,6 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include "config.h" #include <glibmm.h> #include "nmv-exception.h" #include "nmv-ustring.h" diff --git a/src/common/nmv-sql-statement.cc b/src/common/nmv-sql-statement.cc index 35c27f2..3b0c99d 100644 --- a/src/common/nmv-sql-statement.cc +++ b/src/common/nmv-sql-statement.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-exception.h" #include "nmv-log-stream-utils.h" #include "nmv-sql-statement.h" diff --git a/src/common/nmv-str-utils.cc b/src/common/nmv-str-utils.cc index c08d84c..725dc5b 100644 --- a/src/common/nmv-str-utils.cc +++ b/src/common/nmv-str-utils.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <cstdlib> #include <cstring> #include "nmv-str-utils.h" diff --git a/src/common/nmv-tools.cc b/src/common/nmv-tools.cc index 098520f..895cf41 100644 --- a/src/common/nmv-tools.cc +++ b/src/common/nmv-tools.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <fstream> #include <glibmm.h> #include "nmv-tools.h" diff --git a/src/common/nmv-transaction.cc b/src/common/nmv-transaction.cc index 935b534..2fe632c 100644 --- a/src/common/nmv-transaction.cc +++ b/src/common/nmv-transaction.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <stack> #include "nmv-exception.h" #include "nmv-transaction.h" diff --git a/src/common/nmv-ustring.cc b/src/common/nmv-ustring.cc index 8945961..b337d51 100644 --- a/src/common/nmv-ustring.cc +++ b/src/common/nmv-ustring.cc @@ -27,6 +27,7 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include "config.h" #include <cstring> #include <sstream> #include "nmv-ustring.h" diff --git a/src/confmgr/nmv-gsettings-mgr.cc b/src/confmgr/nmv-gsettings-mgr.cc index 83d242a..ee5da15 100644 --- a/src/confmgr/nmv-gsettings-mgr.cc +++ b/src/confmgr/nmv-gsettings-mgr.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <giomm/settings.h> #include "nmv-i-conf-mgr.h" #include "nmv-conf-keys.h" diff --git a/src/dbgengine/nmv-cpp-trait.cc b/src/dbgengine/nmv-cpp-trait.cc index f6baa14..1dad8c1 100644 --- a/src/dbgengine/nmv-cpp-trait.cc +++ b/src/dbgengine/nmv-cpp-trait.cc @@ -25,6 +25,7 @@ #ifndef __NMV_CPP_TRAIT_H__ #define __NMV_CPP_TRAIT_H__ +#include "config.h" #include "nmv-i-lang-trait.h" using nemiver::common::UString; diff --git a/src/dbgengine/nmv-dbg-common.cc b/src/dbgengine/nmv-dbg-common.cc index 95e5902..cdfaeab 100644 --- a/src/dbgengine/nmv-dbg-common.cc +++ b/src/dbgengine/nmv-dbg-common.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "common/nmv-exception.h" #include "nmv-dbg-common.h" diff --git a/src/dbgengine/nmv-gdbmi-parser.cc b/src/dbgengine/nmv-gdbmi-parser.cc index 379f112..c0e3b29 100644 --- a/src/dbgengine/nmv-gdbmi-parser.cc +++ b/src/dbgengine/nmv-gdbmi-parser.cc @@ -23,6 +23,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <cstring> #include <sstream> #include "common/nmv-str-utils.h" diff --git a/src/persp/dbgperspective/nmv-breakpoints-view.cc b/src/persp/dbgperspective/nmv-breakpoints-view.cc index 700f1be..ae65ac9 100644 --- a/src/persp/dbgperspective/nmv-breakpoints-view.cc +++ b/src/persp/dbgperspective/nmv-breakpoints-view.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <map> #include <glib/gi18n.h> #include <gtkmm/treeview.h> diff --git a/src/persp/dbgperspective/nmv-call-function-dialog.cc b/src/persp/dbgperspective/nmv-call-function-dialog.cc index 6cf0937..b7c8cd5 100644 --- a/src/persp/dbgperspective/nmv-call-function-dialog.cc +++ b/src/persp/dbgperspective/nmv-call-function-dialog.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-call-function-dialog.h" #include <glib/gi18n.h> #include "common/nmv-exception.h" diff --git a/src/persp/dbgperspective/nmv-call-stack.cc b/src/persp/dbgperspective/nmv-call-stack.cc index 61cceb5..e3a140b 100644 --- a/src/persp/dbgperspective/nmv-call-stack.cc +++ b/src/persp/dbgperspective/nmv-call-stack.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <sstream> #include <algorithm> #include <gtkmm/treeview.h> diff --git a/src/persp/dbgperspective/nmv-choose-overloads-dialog.cc b/src/persp/dbgperspective/nmv-choose-overloads-dialog.cc index 2c1f820..7c9a97b 100644 --- a/src/persp/dbgperspective/nmv-choose-overloads-dialog.cc +++ b/src/persp/dbgperspective/nmv-choose-overloads-dialog.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include <gtkmm/treeview.h> #include <gtkmm/liststore.h> diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc index 73d3dab..87a1ad9 100644 --- a/src/persp/dbgperspective/nmv-dbg-perspective.cc +++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc @@ -23,9 +23,8 @@ * *See COPYRIGHT file copyright information. */ -#include <cstring> - #include "config.h" +#include <cstring> // For OpenBSD #include <sys/types.h> // For OpenBSD @@ -1933,7 +1932,15 @@ DBGPerspective::on_motion_notify_event_signal (GdkEventMotion *a_event) GdkModifierType state = (GdkModifierType) 0; if (a_event->is_hint) { - gdk_window_get_pointer (a_event->window, &x, &y, &state); +#if GTK_CHECK_VERSION (3, 0, 0) + gdk_window_get_device_position + (a_event->window, + gdk_event_get_device (reinterpret_cast<GdkEvent*> (a_event)), + &x, &y, &state); + +#else + gdk_window_get_pointer (a_event->window, &x, &y, &state); +#endif } else { x = (int) a_event->x; y = (int) a_event->y; diff --git a/src/persp/dbgperspective/nmv-file-list.cc b/src/persp/dbgperspective/nmv-file-list.cc index f7e928f..2b5c4a1 100644 --- a/src/persp/dbgperspective/nmv-file-list.cc +++ b/src/persp/dbgperspective/nmv-file-list.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <vector> #include <glib/gi18n.h> #include <gtkmm/treeview.h> diff --git a/src/persp/dbgperspective/nmv-find-text-dialog.cc b/src/persp/dbgperspective/nmv-find-text-dialog.cc index 26a3cd5..71575ce 100644 --- a/src/persp/dbgperspective/nmv-find-text-dialog.cc +++ b/src/persp/dbgperspective/nmv-find-text-dialog.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <gtksourceviewmm.h> #include <gtkmm/liststore.h> #include "common/nmv-exception.h" diff --git a/src/persp/dbgperspective/nmv-load-core-dialog.cc b/src/persp/dbgperspective/nmv-load-core-dialog.cc index d79d3f9..95d2078 100644 --- a/src/persp/dbgperspective/nmv-load-core-dialog.cc +++ b/src/persp/dbgperspective/nmv-load-core-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <vector> #include <glib/gi18n.h> #include <gtkmm/dialog.h> diff --git a/src/persp/dbgperspective/nmv-memory-view.cc b/src/persp/dbgperspective/nmv-memory-view.cc index 028b2be..2248870 100644 --- a/src/persp/dbgperspective/nmv-memory-view.cc +++ b/src/persp/dbgperspective/nmv-memory-view.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <sstream> #include <bitset> #include <iomanip> diff --git a/src/persp/dbgperspective/nmv-open-file-dialog.cc b/src/persp/dbgperspective/nmv-open-file-dialog.cc index 7a332bb..39ba08e 100644 --- a/src/persp/dbgperspective/nmv-open-file-dialog.cc +++ b/src/persp/dbgperspective/nmv-open-file-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <glib/gi18n.h> #include <gtkmm/filechooserwidget.h> #include <gtkmm/radiobutton.h> diff --git a/src/persp/dbgperspective/nmv-preferences-dialog.cc b/src/persp/dbgperspective/nmv-preferences-dialog.cc index e3b4e07..ca518e0 100644 --- a/src/persp/dbgperspective/nmv-preferences-dialog.cc +++ b/src/persp/dbgperspective/nmv-preferences-dialog.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include <gtkmm/treeview.h> #include <gtkmm/liststore.h> diff --git a/src/persp/dbgperspective/nmv-proc-list-dialog.cc b/src/persp/dbgperspective/nmv-proc-list-dialog.cc index 5091cdb..cbffab5 100644 --- a/src/persp/dbgperspective/nmv-proc-list-dialog.cc +++ b/src/persp/dbgperspective/nmv-proc-list-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <iostream> #include <list> #include <gtkmm.h> diff --git a/src/persp/dbgperspective/nmv-registers-view.cc b/src/persp/dbgperspective/nmv-registers-view.cc index eb0bb8f..6fa0269 100644 --- a/src/persp/dbgperspective/nmv-registers-view.cc +++ b/src/persp/dbgperspective/nmv-registers-view.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include <gtkmm/treeview.h> #include <gtkmm/liststore.h> diff --git a/src/persp/dbgperspective/nmv-remote-target-dialog.cc b/src/persp/dbgperspective/nmv-remote-target-dialog.cc index 7425ef8..30c5b96 100644 --- a/src/persp/dbgperspective/nmv-remote-target-dialog.cc +++ b/src/persp/dbgperspective/nmv-remote-target-dialog.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include "common/nmv-env.h" #include "nmv-remote-target-dialog.h" diff --git a/src/persp/dbgperspective/nmv-run-program-dialog.cc b/src/persp/dbgperspective/nmv-run-program-dialog.cc index a10c44c..562c330 100644 --- a/src/persp/dbgperspective/nmv-run-program-dialog.cc +++ b/src/persp/dbgperspective/nmv-run-program-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <vector> #include <iostream> #include <glib/gi18n.h> diff --git a/src/persp/dbgperspective/nmv-saved-sessions-dialog.cc b/src/persp/dbgperspective/nmv-saved-sessions-dialog.cc index 1c99391..dbd81d8 100644 --- a/src/persp/dbgperspective/nmv-saved-sessions-dialog.cc +++ b/src/persp/dbgperspective/nmv-saved-sessions-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <vector> #include <glib/gi18n.h> #include <gtkmm/dialog.h> diff --git a/src/persp/dbgperspective/nmv-sess-mgr.cc b/src/persp/dbgperspective/nmv-sess-mgr.cc index b2c44a2..3f36e00 100644 --- a/src/persp/dbgperspective/nmv-sess-mgr.cc +++ b/src/persp/dbgperspective/nmv-sess-mgr.cc @@ -22,9 +22,8 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <iostream> - #include "common/nmv-safe-ptr-utils.h" #include "common/nmv-connection.h" #include "common/nmv-connection-manager.h" diff --git a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc index e29b2f5..bd43cfb 100644 --- a/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc +++ b/src/persp/dbgperspective/nmv-set-breakpoint-dialog.cc @@ -25,7 +25,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <vector> #include <glib/gi18n.h> #include <gtkmm/dialog.h> diff --git a/src/persp/dbgperspective/nmv-set-jump-to-dialog.cc b/src/persp/dbgperspective/nmv-set-jump-to-dialog.cc index cc50c80..72aa973 100644 --- a/src/persp/dbgperspective/nmv-set-jump-to-dialog.cc +++ b/src/persp/dbgperspective/nmv-set-jump-to-dialog.cc @@ -21,6 +21,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include <sstream> #include "common/nmv-loc.h" diff --git a/src/persp/dbgperspective/nmv-thread-list.cc b/src/persp/dbgperspective/nmv-thread-list.cc index d8fe242..613fbe8 100644 --- a/src/persp/dbgperspective/nmv-thread-list.cc +++ b/src/persp/dbgperspective/nmv-thread-list.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <glib/gi18n.h> #include <gtkmm/treeview.h> #include <gtkmm/treestore.h> diff --git a/src/persp/dbgperspective/nmv-var-inspector-dialog.cc b/src/persp/dbgperspective/nmv-var-inspector-dialog.cc index 95ba726..e7994e3 100644 --- a/src/persp/dbgperspective/nmv-var-inspector-dialog.cc +++ b/src/persp/dbgperspective/nmv-var-inspector-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <glib/gi18n.h> #include <gtkmm/liststore.h> #include "common/nmv-exception.h" diff --git a/src/persp/dbgperspective/nmv-vars-treeview.cc b/src/persp/dbgperspective/nmv-vars-treeview.cc index cc192e3..7c924a3 100644 --- a/src/persp/dbgperspective/nmv-vars-treeview.cc +++ b/src/persp/dbgperspective/nmv-vars-treeview.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <glib/gi18n.h> #include "nmv-vars-treeview.h" #include "nmv-variables-utils.h" diff --git a/src/persp/dbgperspective/nmv-watchpoint-dialog.cc b/src/persp/dbgperspective/nmv-watchpoint-dialog.cc index 166cca1..5c65b33 100644 --- a/src/persp/dbgperspective/nmv-watchpoint-dialog.cc +++ b/src/persp/dbgperspective/nmv-watchpoint-dialog.cc @@ -21,6 +21,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include "nmv-watchpoint-dialog.h" #include <gtkmm/dialog.h> diff --git a/src/uicommon/nmv-dialog.cc b/src/uicommon/nmv-dialog.cc index f699432..83f38e1 100644 --- a/src/uicommon/nmv-dialog.cc +++ b/src/uicommon/nmv-dialog.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <vector> #include <gtkmm/dialog.h> #include "common/nmv-exception.h" diff --git a/src/uicommon/nmv-hex-editor.cc b/src/uicommon/nmv-hex-editor.cc index cae7e4c..fd8a360 100644 --- a/src/uicommon/nmv-hex-editor.cc +++ b/src/uicommon/nmv-hex-editor.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <gtkmm/container.h> #include "common/nmv-exception.h" #include "nmv-hex-editor.h" diff --git a/src/uicommon/nmv-layout-manager.cc b/src/uicommon/nmv-layout-manager.cc index e288571..c14f9fa 100644 --- a/src/uicommon/nmv-layout-manager.cc +++ b/src/uicommon/nmv-layout-manager.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <gtkmm/widget.h> #include "nmv-layout-manager.h" #include "nmv-layout.h" diff --git a/src/uicommon/nmv-layout-selector.cc b/src/uicommon/nmv-layout-selector.cc index bf507ac..2f9ba22 100644 --- a/src/uicommon/nmv-layout-selector.cc +++ b/src/uicommon/nmv-layout-selector.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-layout-selector.h" #include "nmv-layout-manager.h" #include "nmv-layout.h" diff --git a/src/uicommon/nmv-locate-file-dialog.cc b/src/uicommon/nmv-locate-file-dialog.cc index ca84298..ca11f19 100644 --- a/src/uicommon/nmv-locate-file-dialog.cc +++ b/src/uicommon/nmv-locate-file-dialog.cc @@ -23,6 +23,7 @@ *See COPYRIGHT file copyright information. */ +#include "config.h" #include <vector> #include <glib/gi18n.h> #include <gtkmm/dialog.h> diff --git a/src/uicommon/nmv-popup-tip.cc b/src/uicommon/nmv-popup-tip.cc index e8d4d72..ebc93fd 100644 --- a/src/uicommon/nmv-popup-tip.cc +++ b/src/uicommon/nmv-popup-tip.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <gtkmm/label.h> #include "common/nmv-exception.h" #include "nmv-popup-tip.h" diff --git a/src/uicommon/nmv-spinner-tool-item.cc b/src/uicommon/nmv-spinner-tool-item.cc index 859499d..75a7c5c 100644 --- a/src/uicommon/nmv-spinner-tool-item.cc +++ b/src/uicommon/nmv-spinner-tool-item.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-spinner-tool-item.h" #include <gtkmm/spinner.h> diff --git a/src/uicommon/nmv-terminal.cc b/src/uicommon/nmv-terminal.cc index 4f65da3..5222bd1 100644 --- a/src/uicommon/nmv-terminal.cc +++ b/src/uicommon/nmv-terminal.cc @@ -22,6 +22,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include "nmv-terminal.h" #if !(defined(__FreeBSD__) || defined(__OpenBSD__)) # include <pty.h> diff --git a/src/uicommon/nmv-ui-utils.cc b/src/uicommon/nmv-ui-utils.cc index 49a107c..cfdf54e 100644 --- a/src/uicommon/nmv-ui-utils.cc +++ b/src/uicommon/nmv-ui-utils.cc @@ -24,6 +24,7 @@ * *See COPYRIGHT file copyright information. */ +#include "config.h" #include <glib/gi18n.h> #include "common/nmv-exception.h" #include "nmv-ui-utils.h" diff --git a/tests/gtkmm-test.cc b/tests/gtkmm-test.cc index 67b89ac..fee1e65 100644 --- a/tests/gtkmm-test.cc +++ b/tests/gtkmm-test.cc @@ -19,6 +19,7 @@ * *******************************************************************************/ +#include "config.h" #include <gtkmm.h> #include <iostream> diff --git a/tests/test-breakpoint.cc b/tests/test-breakpoint.cc index 143a10e..2757f2d 100644 --- a/tests/test-breakpoint.cc +++ b/tests/test-breakpoint.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> diff --git a/tests/test-core.cc b/tests/test-core.cc index f391520..60fdd1d 100644 --- a/tests/test-core.cc +++ b/tests/test-core.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <glibmm.h> #include "common/nmv-initializer.h" diff --git a/tests/test-cpp-lexer.cc b/tests/test-cpp-lexer.cc index e34397d..31c3e21 100644 --- a/tests/test-cpp-lexer.cc +++ b/tests/test-cpp-lexer.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <string> #include <boost/test/unit_test.hpp> diff --git a/tests/test-cpp-parser.cc b/tests/test-cpp-parser.cc index 1d3dca5..a29dd92 100644 --- a/tests/test-cpp-parser.cc +++ b/tests/test-cpp-parser.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <string> #include <boost/test/unit_test.hpp> diff --git a/tests/test-deref.cc b/tests/test-deref.cc index 42bed9e..76de7f6 100644 --- a/tests/test-deref.cc +++ b/tests/test-deref.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> diff --git a/tests/test-disassemble.cc b/tests/test-disassemble.cc index 5e605a9..30942a5 100644 --- a/tests/test-disassemble.cc +++ b/tests/test-disassemble.cc @@ -22,7 +22,7 @@ * *See COPYRIGHT file copyright information. */ - +#include "config.h" #include <iostream> #include <iomanip> #include <boost/test/minimal.hpp> diff --git a/tests/test-env.cc b/tests/test-env.cc index c16e4cf..5027650 100644 --- a/tests/test-env.cc +++ b/tests/test-env.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <string> #include <boost/test/unit_test.hpp> diff --git a/tests/test-libtool-wrapper-detection.cc b/tests/test-libtool-wrapper-detection.cc index 0c0503a..80998be 100644 --- a/tests/test-libtool-wrapper-detection.cc +++ b/tests/test-libtool-wrapper-detection.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <string> #include <vector> diff --git a/tests/test-local-vars-list.cc b/tests/test-local-vars-list.cc index ebed94a..b0584e6 100644 --- a/tests/test-local-vars-list.cc +++ b/tests/test-local-vars-list.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> diff --git a/tests/test-stdout.cc b/tests/test-stdout.cc index 90101fb..8776e8a 100644 --- a/tests/test-stdout.cc +++ b/tests/test-stdout.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <glibmm.h> #include "common/nmv-initializer.h" diff --git a/tests/test-types.cc b/tests/test-types.cc index d628de2..37aa74e 100644 --- a/tests/test-types.cc +++ b/tests/test-types.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> diff --git a/tests/test-unicode.cc b/tests/test-unicode.cc index db42f29..b585460 100644 --- a/tests/test-unicode.cc +++ b/tests/test-unicode.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <string> #include <boost/test/unit_test.hpp> diff --git a/tests/test-var-list.cc b/tests/test-var-list.cc index adf905c..f022017 100644 --- a/tests/test-var-list.cc +++ b/tests/test-var-list.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> diff --git a/tests/test-var-path-expr.cc b/tests/test-var-path-expr.cc index 4f5485a..f215c36 100644 --- a/tests/test-var-path-expr.cc +++ b/tests/test-var-path-expr.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> diff --git a/tests/test-var-walker.cc b/tests/test-var-walker.cc index 8c52996..11654de 100644 --- a/tests/test-var-walker.cc +++ b/tests/test-var-walker.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <map> #include <string> diff --git a/tests/test-variable-format.cc b/tests/test-variable-format.cc index ed28a3d..ef914a8 100644 --- a/tests/test-variable-format.cc +++ b/tests/test-variable-format.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <sstream> #include <map> diff --git a/tests/test-varobj-walker.cc b/tests/test-varobj-walker.cc index 0b64caa..85f9ab0 100644 --- a/tests/test-varobj-walker.cc +++ b/tests/test-varobj-walker.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <sstream> #include <map> diff --git a/tests/test-vars.cc b/tests/test-vars.cc index c07dd12..b3f438f 100644 --- a/tests/test-vars.cc +++ b/tests/test-vars.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <map> #include <string> diff --git a/tests/test-watchpoint.cc b/tests/test-watchpoint.cc index 755650e..49f99e0 100644 --- a/tests/test-watchpoint.cc +++ b/tests/test-watchpoint.cc @@ -1,3 +1,4 @@ +#include "config.h" #include <iostream> #include <boost/test/minimal.hpp> #include <glibmm.h> -- Dodji _______________________________________________ nemiver-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nemiver-list
