gnash
[Top][All Lists]
Advanced

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

Re: [Gnash] [patch] Fix build error because of invalid #warn


From: strk
Subject: Re: [Gnash] [patch] Fix build error because of invalid #warn
Date: Sat, 8 Jul 2006 12:19:29 +0200

You probably missed to run ./autogen.sh after update, as
Function.cpp should not be built anymore.

(thanks for the tip, anyway)

--strk;

On Sat, Jul 08, 2006 at 09:21:00AM +0200, Petter Reinholdtsen wrote:
> 
> When I try to build the current gnash source, it fail with this error:
> 
>    i386-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./swf
>      -I.. -I../libbase -I.. -I/usr/include -I/usr/include/SDL
>      -I/usr/include/SDL -I/usr/include/gtk-2.0
>      -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0
>      -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>      --I/usr/include/atk-1.0 -I/usr/include/libxml2
>      --DQT_THREAD_SUPPORT -D_REENTRANT -g -O2 -ansi -Wall -W -Wall
>      --Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT
>      -Function.lo -MD -MP -MF .deps/Function.Tpo -c Function.cpp -fPIC
>      --DPIC -o .libs/Function.o
>   Function.cpp:41:2: invalid preprocessing directive #warn
>   make[2]: *** [Function.lo] Fejl 1
>   make[2]: Leaving directory 
> `/home/pere/src/debian/flash/gnash-cvs/gnash/server'
>   make[1]: *** [all-recursive] Fejl 1
> 
> It is easily fixed using this patch:
> 
> Index: server/Function.cpp
> ===================================================================
> RCS file: /sources/gnash/gnash/server/Function.cpp,v
> retrieving revision 1.27
> diff -u -3 -p -r1.27 Function.cpp
> --- server/Function.cpp 7 Jul 2006 13:49:40 -0000       1.27
> +++ server/Function.cpp 8 Jul 2006 07:20:12 -0000
> @@ -38,7 +38,7 @@
> 
>  // TO BE REMOVED
> 
> -#warn Do not build this file, is obsoleted
> +#warning Do not build this file, is obsoleted
> 
> 
>  namespace gnash {
> 
> 
> 
> _______________________________________________
> Gnash mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash

-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 





reply via email to

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