This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: INSTALL_ASSERT_H
- To: gcc at gcc dot gnu dot org, obrien at FreeBSD dot org
- Subject: Re: INSTALL_ASSERT_H
- From: Mike Stump <mrs at windriver dot com>
- Date: Wed, 2 May 2001 16:42:47 -0700 (PDT)
> 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.