Hello, Alexandre! > > It remains an open question whether Autoconf should be so strict. > > It must. There are compilers that don't return a failure status when > asked to #include a non-existent file. I propose a new item to the TODO list (for after 2.50): ======== Check if the compiler returns a failure status when asked to #include a non-existent file. If it does, don't check stderr from cpp, only check the exit status. ======== There are hundreds things a compiler can complain about. An example that I remember - the native compiler on HP-UX would warn that the code it generates doesn't run on earlier processors. If the compiler is "wary" and indicates missing includes by the exit status its subtle warnings should be acceptable. If the compiler is "careless" its warnings should be taken with care. Also it is better for developers to show warnings while compiling the code than to hide them into config.log Regards, Pavel Roskin
- Re: grep -E ? (Was: Compilation problem solved) Thomas E. Dickey
- Re: grep -E ? (Was: Compilation problem solved) Alexandre Oliva
- Re: grep -E ? (Was: Compilation problem sol... Lars Hecking
- Re: grep -E ? (Was: Compilation problem... Pavel Roskin
- Re: grep -E ? (Was: Compilation pro... Mathieu Chouquet-Stringer
- Re: grep -E ? (Was: Compilation pro... Mathieu Chouquet-Stringer
- Re: grep -E ? (Was: Compilation... Thomas E. Dickey
- Re: grep -E ? (Was: Compilation... Pavel Roskin
- AC_TRY_CPP too strict? (Wa... Pavel Roskin
- Re: AC_TRY_CPP too strict?... Alexandre Oliva
- Re: AC_TRY_CPP too strict?... Pavel Roskin
- Re: AC_TRY_CPP too strict?... Thomas Dickey
- Re: AC_TRY_CPP too strict?... Alexandre Oliva
- Re: grep -E ? (Was: Compilation problem sol... Thomas E. Dickey
- Re: grep -E ? (Was: Compilation problem... Alexandre Oliva
- Re: grep -E ? (Was: Compilation pro... Thomas E. Dickey
- Re: grep -E ? (Was: Compilation... Pavel Roskin
- Re: grep -E ? (Was: Compil... Thomas E. Dickey
- Re: grep -E ? (Was: Compil... Paul Eggert
- Re: grep -E ? (Was: Compil... Thomas Dickey
- Re: grep -E ? (Was: Compil... Paul Eggert