[Buildroot] [autobuild.buildroot.net] Build results for 2013-02-23

Peter Korsgaard jacmet at uclibc.org
Sun Feb 24 16:39:00 UTC 2013


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

Hi,

 Yann> I'm not sure how to solve that one:

 Yann> CC		build.linux/src/v4l.o
 Yann> /home/test/test/output1/build/tvheadend-v3.3/src/v4l.c: In function
 Yann> 'v4l_adapter_check':
 Yann> /home/test/test/output1/build/tvheadend-v3.3/src/v4l.c:465:5: error: format
 Yann> '%llx' expects argument of type 'long long unsigned int', but argument 6 has
 Yann> type 'v4l2_std_id' [-Werror=format]

 Yann> (twice the same error).

 Yann> But:
 Yann>   - "long long unsigned int" is 64-bit wide, unsigned
 Yann>   - "v4l2_std_id" is a "__u64", so is 64-bit wide, unsigned
 Yann>   - it's only used for logging to stderr

 Yann> I'm not very happy with disabling -Werror, so I was thinking
 Yann> about casting the value to hush gcc.

Why not? Software should imho not use -Werror in release builds (it can
be very interesting during development though).

We already disable it for a number of other packages (cifs-utils,
classpath, ipsec-tools, libroxml, bellagio, synergy).

 Yann> What's so special about mips64el that it does not like v4l2_std_id as an
 Yann> unsigned 64-bit value (I've checked the headers, it is an __u64).

Sorry, don't know.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list