[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Vincent Lefevre] Bug#325866: autoconf: AC_COMPILE_IFELSE generates
Re: [Vincent Lefevre] Bug#325866: autoconf: AC_COMPILE_IFELSE generates a test that doesn't work on IRIX64
Fri, 2 Sep 2005 08:17:51 +0200
On 2005-09-01 12:58:40 -0700, Noah Misch wrote:
> In Autoconf itself, we often eschew #error in favor of `choke me'
> inside the #ifdef, which yields a syntactically invalid compilation
> unit. Autoconf users can do the same in their own tests like this
> one, and that should avoid the problem with this compiler.
Yes, I did something like that.
> Perhaps you could post the version string from that compiler, so we
> can document this problem with a specific reference?
demon ~ % cc -version
MIPSpro Compilers: Version 220.127.116.11m
> It would be nice to handle this automatically, but I doubt we could
> do so without breaking something elsewhere. Ralf has more experience
> with matters like this one, and he mentioned some of the major
> obstacles to a reliable implementation.
Would grepping "^ #error directive:" break anything elsewhere?
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA