Package: swfdec0.6
Version: 0.6.4-2
Severity: important

swfdec uses $ as part of a variable identifier.

Please don't. ISO C [1] does not list it as one of the allowed
characters for identifier. It *does* allow implementions to use
other characters as well, but that makes the code non-portable.

In debian's case, this makes code unportable for arm/armel.

[1] See page 51 on: http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf

./swfdec/swfdec_movie.c:  swfdec_as_object_set_variable (o, 
SWFDEC_AS_STR_$version, &val);
./swfdec/swfdec_as_strings.h:#define SWFDEC_AS_STR_$version 
&swfdec_as_strings[3010]

Leads to:

swfdec_movie.c: In function 'swfdec_movie_set_version':
swfdec_movie.c:1529: error: stray '$' in program
swfdec_movie.c:1529: error: 'version' undeclared (first use in this function)
swfdec_movie.c:1529: error: (Each undeclared identifier is reported only once
swfdec_movie.c:1529: error: for each function it appears in.)
swfdec_movie.c:1529: error: stray '$' in program
swfdec_movie.c:1529: error: expected ')' before 'version'
swfdec_movie.c:1529: error: too few arguments to function 
'swfdec_as_object_set_variable_and_flags'


-- 
"rm -rf" only sounds scary if you don't have backups



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to