gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-


From: Bastiaan Jacques
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-447-g6dc0921
Date: Thu, 31 Mar 2011 01:57:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  6dc092126e39e20a17e5da3f26f2b1ec6c36bca6 (commit)
      from  227486db4262b69ab6895fdea97d2a8166d134bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=6dc092126e39e20a17e5da3f26f2b1ec6c36bca6


commit 6dc092126e39e20a17e5da3f26f2b1ec6c36bca6
Author: Bastiaan Jacques <address@hidden>
Date:   Thu Mar 31 03:51:23 2011 +0200

    Remove 'typedef' from struct and enum declarations to make g++ -flto -g 
happy. See GCC bug #48207.

diff --git a/libcore/parser/filter_factory.cpp 
b/libcore/parser/filter_factory.cpp
index d851394..e1853a2 100644
--- a/libcore/parser/filter_factory.cpp
+++ b/libcore/parser/filter_factory.cpp
@@ -24,7 +24,7 @@
 
 namespace gnash {
 
-typedef enum
+enum filter_types
 {
     DROP_SHADOW = 0,
     BLUR = 1,
@@ -34,7 +34,7 @@ typedef enum
     CONVOLUTION = 5,
     COLOR_MATRIX = 6,
     GRADIENT_BEVEL = 7
-} filter_types;
+};
 
 int
 filter_factory::read(SWFStream& in, bool read_multiple, Filters* store)
diff --git a/libsound/WAVWriter.cpp b/libsound/WAVWriter.cpp
index 47e8d7e..8518625 100644
--- a/libsound/WAVWriter.cpp
+++ b/libsound/WAVWriter.cpp
@@ -34,7 +34,7 @@ namespace { // anonymous
 
 // Header of a wave file
 // http://ftp.iptel.org/pub/sems/doc/full/current/wav__hdr_8c-source.html
-typedef struct{
+struct WAV_HDR {
      char rID[4];            // 'RIFF'
      boost::uint32_t rLen;        
      char wID[4];            // 'WAVE'
@@ -46,14 +46,14 @@ typedef struct{
      boost::uint32_t nAvgBytesPerSec;
      boost::int16_t nBlockAlign;      
      boost::int16_t nBitsPerSample;
-} WAV_HDR;
+};
 
 // Chunk of wave file
 // http://ftp.iptel.org/pub/sems/doc/full/current/wav__hdr_8c-source.html
-typedef struct{
+struct CHUNK_HDR{
     char dId[4];            // 'data' or 'fact'
     boost::uint32_t dLen;
-} CHUNK_HDR;
+};
 
 } // end of anonymous namespace
 

-----------------------------------------------------------------------

Summary of changes:
 libcore/parser/filter_factory.cpp |    4 ++--
 libsound/WAVWriter.cpp            |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]