On 2014-03-27 12:56 +0100, Mathieu Malaterre wrote: > Package: autoconf > Version: 2.69-1 > Severity: grave > Tags: lfs > > The file: ./lib/autoconf/specific.m4 contained basically the following C code: > > [...] > #include <sys/types.h> > > int main(int argc, char **argv) > { > /* Cause a compile-time error if off_t is smaller than 64 bits */ > #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) > int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T > % 2147483647 == 1) ? 1 : -1 ]; > return 0; > }
There is one important difference, though: in autoconf, the off_t_is_large array is declared _outside_ main(), and current gcc versions barf with "variably modified 'off_t_is_large' at file scope" error message on it. So despite the undefined behavior, packages in the archive are probably not broken (yet?). Cheers, Sven -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org