[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash libbase/log.h ChangeLog
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash libbase/log.h ChangeLog |
Date: |
Sun, 20 May 2007 14:47:53 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Rob Savoye <rsavoye> 07/05/20 14:47:53
Modified files:
libbase : log.h
. : ChangeLog
Log message:
* libbase/log.h: Add empty braces around a while(0) to shut up GCC
4.3.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.h?cvsroot=gnash&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3284&r2=1.3285
Patches:
Index: libbase/log.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- libbase/log.h 18 May 2007 00:50:30 -0000 1.52
+++ libbase/log.h 20 May 2007 14:47:52 -0000 1.53
@@ -14,8 +14,6 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-/* $Id: log.h,v 1.52 2007/05/18 00:50:30 nihilus Exp $ */
-
#ifndef GNASH_LOG_H
#define GNASH_LOG_H
@@ -195,11 +193,7 @@
DSOEXPORT void log_error(const char* fmt, ...) GNUC_LOG_ATTRS;
// Temporary expedient til the other source files are converted. --gnu
-// I'm not sure a WARNING logger should really be deprecated, anyway
-// there are no more log_warning callers so far. If anyone feels like using
-// it (ie: the other log levels seem not appropriate) please discuss this on
the
-// mailing list
-//#define log_warning log_unimpl
+#define log_warning log_unimpl
/// Log a message about unimplemented features.
//
@@ -304,14 +298,14 @@
#if VERBOSE_ASCODING_ERRORS
// TODO: check if it's worth to check verbosity level too...
-#define IF_VERBOSE_ASCODING_ERRORS(x) { if (
gnash::RcInitFile::getDefaultInstance().showASCodingErrors() ) { x; } } while
(0);
+#define IF_VERBOSE_ASCODING_ERRORS(x) { if (
gnash::RcInitFile::getDefaultInstance().showASCodingErrors() ) { x; } } while
(0) {};
#else
#define IF_VERBOSE_ASCODING_ERRORS(x)
#endif
#if VERBOSE_MALFORMED_SWF
// TODO: check if it's worth to check verbosity level too...
-#define IF_VERBOSE_MALFORMED_SWF(x) { if (
gnash::RcInitFile::getDefaultInstance().showMalformedSWFErrors() ) { x; } }
while (0);
+#define IF_VERBOSE_MALFORMED_SWF(x) { if (
gnash::RcInitFile::getDefaultInstance().showMalformedSWFErrors() ) { x; } }
while (0) {};
#else
#define IF_VERBOSE_MALFORMED_SWF(x)
#endif
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3284
retrieving revision 1.3285
diff -u -b -r1.3284 -r1.3285
--- ChangeLog 20 May 2007 08:00:39 -0000 1.3284
+++ ChangeLog 20 May 2007 14:47:52 -0000 1.3285
@@ -1,3 +1,8 @@
+2007-05-20 Rob Savoye <address@hidden>
+
+ * libbase/log.h: Add empty braces around a while(0) to shut up GCC
+ 4.3.
+
2007-05-20 Zou Lunkai <address@hidden>
* testsuite/misc-ming.all/displaylist_depths_test9.c:
- [Gnash-commit] gnash libbase/log.h ChangeLog,
Rob Savoye <=