Re: [Vincent Lefevre] Bug#325866: autoconf: AC_COMPILE_IFELSE generates a test that doesn't work on IRIX64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 7.3.1.3m

> 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 <vincent@xxxxxxxxxx> - 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux