jjb: babeltrace: ignore pragma warnings on MacOS
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 15 Aug 2023 21:06:30 +0000 (17:06 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 16 Aug 2023 15:16:41 +0000 (11:16 -0400)
commit8b15f123079122458822dcd2d1da9ebff9e7f783
tree8e2da6deb94f94ee5a56a3cb2fc306adf8fc3691
parentd9e3cd99a0da22aead99e72a0a99658e4f9f1024
jjb: babeltrace: ignore pragma warnings on MacOS

Ignore prama warnings from Glib on MacOS

  plugin.c:85:4: warning: Deprecated pre-processor symbol [-W#pragma-messages]
                          PYTHON_PLUGIN_PROVIDER_FILENAME, NULL);
                          ^
  plugin.c:36:79: note: expanded from macro 'PYTHON_PLUGIN_PROVIDER_FILENAME'
  #define PYTHON_PLUGIN_PROVIDER_FILENAME "babeltrace2-python-plugin-provider." G_MODULE_SUFFIX
                                                                                ^
  /opt/local/lib/glib-2.0/include/glibconfig.h:289:30: note: expanded from macro 'G_MODULE_SUFFIX'
  #define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76
                               ^
  /opt/local/include/glib-2.0/glib/glib-visibility.h:889:39: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_76'
  #define GLIB_DEPRECATED_MACRO_IN_2_76 GLIB_DEPRECATED_MACRO
                                        ^
  /opt/local/include/glib-2.0/glib/gmacros.h:1297:31: note: expanded from macro 'GLIB_DEPRECATED_MACRO'
  #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol")
                                ^
  /opt/local/include/glib-2.0/glib/gmacros.h:1296:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA'
  #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
                                  ^
  <scratch space>:11:6: note: expanded from here
   GCC warning "Deprecated pre-processor symbol"
       ^

Change-Id: Iacccd4949caf618e67b94987ab2e9511b33958d1
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/babeltrace/build.sh
This page took 0.02309 seconds and 4 git commands to generate.