bugGnash - The GNU Flash player - Bugs: bug #17214, compile error

 
 

bug #17214: compile error

Submitted by:  None
Submitted on:  Thu 27 Jul 2006 08:12:47 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 27 Jul 2006 01:25:28 PM UTC, comment #1:

Apply this patch, and it'll work. There was a change mande lately to make the code support -pedantic, but in this case it breaks with newer versions of G++.

diff -u -b -B -w -r1.5 tu_swap.h
--- libbase/tu_swap.h 27 Jul 2006 01:47:11 -0000 1.5
+++ libbase/tu_swap.h 27 Jul 2006 13:23:44 -0000
@@ -55,7 +55,7 @@
#endif
inline uint64 swap64(uint64 u)
{
-#if 0 //__GNUC__
+#if 1 //__GNUC__

// Since we're now using exclusively C++, these C99 modifiers are no longer
// necessary.
@@ -151,7 +151,5 @@

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Thu 27 Jul 2006 08:12:47 AM UTC, original submission:

I am using CVS as of now and I get the following error. I am using FC5 with gcc 4.1.1. Worked fine as of yesterday.

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -g -O2 -ansi -Wall -MT config.lo -MD -MP -MF .deps/config.Tpo -c config.cpp -o config.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -g -O2 -ansi -Wall -MT container.lo -MD -MP -MF ".deps/container.Tpo" -c -o container.lo container.cpp; \
then mv -f ".deps/container.Tpo" ".deps/container.Plo"; else rm -f ".deps/container.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -g -O2 -ansi -Wall -MT container.lo -MD -MP -MF .deps/container.Tpo -c container.cpp -fPIC -DPIC -o .libs/container.o
In file included from utility.h:16,
from container.h:77,
from container.cpp:15:
tu_swap.h:76: error: integer constant is too large for 'long' type
tu_swap.h:77: error: integer constant is too large for 'long' type
tu_swap.h:78: error: integer constant is too large for 'long' type
tu_swap.h:79: error: integer constant is too large for 'long' type
make[2]: *** [container.lo] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 27 Jul 2006 01:25:28 PM UTCrsavoyeStatusNone=>Fixed
  Assigned toNone=>rsavoye
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1