[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with check for functions with Sun CC
From: |
Martin Frydl |
Subject: |
Re: Problem with check for functions with Sun CC |
Date: |
Thu, 02 May 2002 19:41:03 +0200 |
Andreas Schwab wrote:
>
> Martin Frydl <address@hidden> writes:
>
> |> The compiler complains about extern "C". My question is whether this is
> |> autoconf bug or should I use ./configure CC=cc CXX=CC to really use C
> |> compiler for these tests.
>
> The latter. You cannot expect meaningfull results when compiling C code
> with a C++ compiler. C and C++ are quite different languages.
But I will use the checked functions in C++ sources, so it should be
better to check them by C++ compiler.
Martin