Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-daemon
Commits
901db43b
Commit
901db43b
authored
Aug 02, 2012
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #14267: addressbook: fix gcc warnings
parent
42f3a8f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
plugins/addressbook/evolution/eds.c
plugins/addressbook/evolution/eds.c
+8
-0
plugins/configure.ac
plugins/configure.ac
+1
-1
No files found.
plugins/addressbook/evolution/eds.c
View file @
901db43b
...
...
@@ -49,6 +49,14 @@
#include <libebook/e-book-client.h>
#endif
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
/* Test for GCC < 4.7.0 */
#if GCC_VERSION < 40700
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
/**
* Structure used to store search callback and data
*/
...
...
plugins/configure.ac
View file @
901db43b
...
...
@@ -23,7 +23,7 @@ AC_PROG_INSTALL
AC_HEADER_STDC
LT_INIT
MIGRATION_FLAGS="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES"
MIGRATION_FLAGS="
-DE_BOOK_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES"
if test "x$with_debug" = "xfull" -o "x$with_debug" = "xyes"; then
CFLAGS="-g -O0 -DDEBUG -Wall -Wextra $MIGRATION_FLAGS"
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment