[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Require at least gcc 4.2
From: |
Robert Millan |
Subject: |
Re: Require at least gcc 4.2 |
Date: |
Tue, 1 Sep 2009 18:07:04 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Tue, Sep 01, 2009 at 03:44:18PM +0200, Vladimir 'phcoder' Serbinenko wrote:
>
> +AC_CACHE_CHECK([whether gcc is recent enough], grub_cv_cc_recent, [
> + CFLAGS=
> + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
> +#if defined (__GNUC__) && (__GNUC__ < 4 || __GNUC_MINOR__ < 2)
> +#error Use at least GCC 4.2
> +#endif
This would fail with e.g. GCC 5.0. Other than this, the patch is fine.
If Bean wants to add a configure option (e.g. like QEMU's --disable-gcc-check)
so that this requirement can be overriden, that's ok too.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
- Re: Require at least gcc 4.2, (continued)
- Re: Require at least gcc 4.2, Bean, 2009/09/01
- Re: Require at least gcc 4.2, David Miller, 2009/09/01
- Re: Require at least gcc 4.2, Robert Millan, 2009/09/03
- Re: Require at least gcc 4.2, Neil Cafferkey, 2009/09/06
- Re: Require at least gcc 4.2, Robert Millan, 2009/09/06
Re: Require at least gcc 4.2,
Robert Millan <=