+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
+2002-02-11 Darin Adler <darin@bentspoon.com>
+
+ * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+ first place. The other form can trigger warnings in some compilers
+ that suspect a ";" after "if (expr)" is an error.
+
2002-02-11 Manish Singh <yosh@gimp.org>
* glib/gmessages.h: need statement terminators for the if clauses for
#ifdef __GNUC__
#define g_assert(expr) G_STMT_START{ \
- if (expr); else \
+ if (expr) { } else \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_ERROR, \
"file %s: line %d (%s): assertion failed: (%s)", \
#else /* !__GNUC__ */
#define g_assert(expr) G_STMT_START{ \
- if (expr); else \
+ if (expr) { } else \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_ERROR, \
"file %s: line %d: assertion failed: (%s)", \
#ifdef __GNUC__
#define g_return_if_fail(expr) G_STMT_START{ \
- if (expr); else \
+ if (expr) { } else \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_CRITICAL, \
}; }G_STMT_END
#define g_return_val_if_fail(expr,val) G_STMT_START{ \
- if (expr); else \
+ if (expr) { } else \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_CRITICAL, \
#else /* !__GNUC__ */
#define g_return_if_fail(expr) G_STMT_START{ \
- if (expr); else \
+ if (expr) { } else \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_CRITICAL, \
}; }G_STMT_END
#define g_return_val_if_fail(expr, val) G_STMT_START{ \
- if (expr); else \
+ if (expr) { } else \
{ \
g_log (G_LOG_DOMAIN, \
G_LOG_LEVEL_CRITICAL, \