Il giorno sab, 02/04/2011 alle 22.11 -0600, Ryan Hill ha scritto:
> Common errors:

I've been running my tinderbox with GCC 4.6 now, so I hope to help out
discovering the issue asap, but in the mean time I'd like to point out
that GCC 4.6 (a little more than others, afaict) could cause ./configure
scripts to fail (or misdetect availability of functions).

If something does not seem to build right, but doesn't appear directly
related to GCC 4.6, make sure to attach the config.log of the configure
execution.

In particular, since with GCC 4.5 (and modern glibc) doing things such
as

write(fd, buf, bufsize);

would have caused "return value ignored" warnings, which would have
thrown off detections using -Werror, they were rewritten as

int n = write(fd, buf, bufsize);

... too bad that this *now* causes the "unused but set" warning.

-- 
Diego Elio Pettenò — Flameeyes
http://blog.flameeyes.eu/


Reply via email to