This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: INSTALL_ASSERT_H


> Date: Wed, 2 May 2001 10:35:57 -0700
> From: "David O'Brien" <obrien@FreeBSD.org>
> To: gcc@gcc.gnu.org

> When would one want to use "INSTALL_ASSERT_H ="?

> from t-linux:
>     # Don't install "assert.h" in gcc. We use the one in glibc.
>     INSTALL_ASSERT_H =

> I.e. how does one determine if the base assert.h is OK to use and GCC's
> isn't needed?

If the following program compiles:

#include <assert.h>

That's a good first order approximation.  Good in 98% of the cases I
suspect we care about.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]