Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2011 15:36:02 +0200
From:      Robert Millan <rmh@debian.org>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Ed Maste <emaste@freebsd.org>
Subject:   Re: [PATCH] __FreeBSD_cc_version in <sys/cdefs.h>
Message-ID:  <CAOfDtXMGdyD5LPvjdd9rS4v-rtkeJ7M=v4vyUtF-Wg23bjvtGw@mail.gmail.com>
In-Reply-To: <4E12E358.80002@FreeBSD.org>
References:  <CAOfDtXMHdVm%2B7DFr=ZV4x_5uQ=q%2B2A0cFxvZsUgGzqWEwURhYg@mail.gmail.com> <4E12E358.80002@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--bcaec5430590a3990a04a752908d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2011/7/5 Dimitry Andric <dim@freebsd.org>:
> As far as I can see, this code only gives warnings when compiled with
> gcc 4.5 or higher, and when using the -Wundef flag. =C2=A0Isn't it easier=
 to
> just remove the -Wundef flag here?

Here's a patch to remove -Wundef.  I think it's a bad idea however,
IMHO it's better to fix the cause of the warning instead.

--=20
Robert Millan

--bcaec5430590a3990a04a752908d
Content-Type: text/plain; charset=US-ASCII; name="wundef.diff"
Content-Disposition: attachment; filename="wundef.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gpqwf2410

SW5kZXg6IHN5cy9jb25mL2tlcm4ubWsKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL2NvbmYva2Vybi5tawko
cmV2aXNpb24gMjIzNzM2KQorKysgc3lzL2NvbmYva2Vybi5tawkod29ya2luZyBjb3B5KQpAQCAt
NSw3ICs1LDcgQEAKICMKIENXQVJORkxBR1M/PQktV2FsbCAtV3JlZHVuZGFudC1kZWNscyAtV25l
c3RlZC1leHRlcm5zIC1Xc3RyaWN0LXByb3RvdHlwZXMgXAogCQktV21pc3NpbmctcHJvdG90eXBl
cyAtV3BvaW50ZXItYXJpdGggLVdpbmxpbmUgLVdjYXN0LXF1YWwgXAotCQktV3VuZGVmIC1Xbm8t
cG9pbnRlci1zaWduIC1mZm9ybWF0LWV4dGVuc2lvbnMgXAorCQktV25vLXBvaW50ZXItc2lnbiAt
ZmZvcm1hdC1leHRlbnNpb25zIFwKIAkJLVdtaXNzaW5nLWluY2x1ZGUtZGlycyAtZmRpYWdub3N0
aWNzLXNob3ctb3B0aW9uCiAjCiAjIFRoZSBmb2xsb3dpbmcgZmxhZ3MgYXJlIG5leHQgdXAgZm9y
IHdvcmtpbmcgb246Cg==
--bcaec5430590a3990a04a752908d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOfDtXMGdyD5LPvjdd9rS4v-rtkeJ7M=v4vyUtF-Wg23bjvtGw>