Bug 27392 - swfdec won't compile
Summary: swfdec won't compile
Status: NEW
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: swfdec ml
QA Contact: swfdec ml
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 06:22 UTC by Andrew Benton
Modified: 2010-08-02 04:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andrew Benton 2010-03-31 06:22:15 UTC
Trying to compile current git swfdec fails like so:

make[2]: Entering directory `/home/andy/swfdec/tools'
gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations -Wpacked -Winvalid-pch -Wsync-nand  -Werror  -std=gnu99 -I.. -pthread -I/usr/include/glib-2.0   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   -g -O2 -MT swfdec_extract-swfdec-extract.o -MD -MP -MF .deps/swfdec_extract-swfdec-extract.Tpo -c -o swfdec_extract-swfdec-extract.o `test -f 'swfdec-extract.c' || echo './'`swfdec-extract.c
cc1: warnings being treated as errors
swfdec-extract.c: In function ‘main’:
swfdec-extract.c:71: error: cannot optimize loop, the loop counter may overflow
make[2]: *** [swfdec_extract-swfdec-extract.o] Error 1
make[2]: Leaving directory `/home/andy/swfdec/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/swfdec'
make: *** [all] Error 2

I'm using gcc 4.4.3
Comment 1 Marc-Andre Lureau 2010-08-02 04:15:23 UTC
same error:


(sid)elmarco@marc-desktop:~/git/gnome2/swfdec$ gcc --version
gcc (Debian 4.4.4-7) 4.4.4
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


CFLAGS='-g -O2 -m32'


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.