[tracker/sam/no-pedantic] build: Disable GCC pedantic warnings
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/no-pedantic] build: Disable GCC pedantic warnings
- Date: Wed, 26 May 2021 15:56:42 +0000 (UTC)
commit a747836b3593e3c0b8428a965eea7a70a8feda9a
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Wed May 26 17:30:02 2021 +0200
build: Disable GCC pedantic warnings
This flag has detected some bugs and resulted in a number of good code
cleanups
However, some of these warnings cannot neatly be fixed, as GLib depends on
converting function pointers to (void *) and back again.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 44e8fbbfc..b786643c4 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project('tracker', 'c', 'vala',
meson_version: '>=0.51',
default_options: [
'c_std=c99',
- 'warning_level=3'])
+ 'warning_level=2'])
gnome = import('gnome')
i18n = import('i18n')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]