[gdl] Fix build when using C++11 mode
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] Fix build when using C++11 mode
- Date: Sun, 2 Mar 2014 14:16:49 +0000 (UTC)
commit 487562e335dfecec1bebc43889761bcd15cf9bbc
Author: Ting-Wei Lan <lantw44 gmail com>
Date: Thu Feb 13 23:31:22 2014 +0800
Fix build when using C++11 mode
String literals should not have string suffixes like ""format or else
they might be mistaken for a C++ user-defined suffix. Add a space
there.
https://bugzilla.gnome.org/show_bug.cgi?id=724303
gdl/gdl-dock-object.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdl/gdl-dock-object.h b/gdl/gdl-dock-object.h
index 8ed0bba..8bc081e 100644
--- a/gdl/gdl-dock-object.h
+++ b/gdl/gdl-dock-object.h
@@ -381,7 +381,7 @@ GType gdl_dock_object_set_type_for_nick (const gchar *nick,
G_STMT_START { \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_DEBUG, \
- "%s:%d (%s) %s [%p %d%s:%d]: "format, \
+ "%s:%d (%s) %s [%p %d%s:%d]: " format, \
__FILE__, \
__LINE__, \
__PRETTY_FUNCTION__, \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]