* Eric Blake wrote on Mon, Aug 30, 2010 at 11:13:22PM CEST: > On 08/30/2010 03:06 PM, Ralf Wildenhues wrote: > >Don't you love those permissive compilers where only the linker fails > >later with: > > > >libtool: link: /opt/fsw/bin/cc -g -Wall -Werror -o .libs/usea usea.o > >./.libs/liba.so -rpath /foo > >Invalid flag usage: Wall, -Wx,-option must appear after -_SYSTYPE_SVR4 > >ld: Usage: ld [options] file [...] > >stdout: > >./../libtool/tests/cwrapper.at:77: exit code was 1, expected 0 > > Does this have any ramifications for autoconf's AC_LANG_WERROR?
Not necessarily. But the user has to test flags that she later passes also to link commands, using a link test. :-/ This Tru64 compiler is probably on its way to history though, to let's not be too worried unless we see more of these. Cheers, Ralf