GNU bug report logs -
#15739
Doesn't support clang as well as it could.
Previous Next
Reported by: Matt Sicker <boards <at> gmail.com>
Date: Sun, 27 Oct 2013 19:54:01 UTC
Severity: normal
Tags: moreinfo, wontfix
Merged with 15741
Done: Mark H Weaver <mhw <at> netris.org>
Bug is archived. No further changes may be made.
Full log
Message #12 received at 15739-done <at> debbugs.gnu.org (full text, mbox):
Hi Matt,
Matt Sicker <boards <at> gmail.com> writes:
> I noticed that clang reports to be GCC version 4.2, so most of what I
> thought might be wrong wasn't. Therefore, the patch was far easier and
> smaller than I expected. This isn't too high a priority, but it does
> add support for clang where the code would normally check for GCC
> 4.3+. Clang even supports C++ static_assert supposedly, so there's a
> check for that as well.
>
> --
> Matt Sicker <boards <at> gmail.com>
>
>
> From 2b02509f53a247784b4bb0be96061e46b53b0c4e Mon Sep 17 00:00:00 2001
> From: Matt Sicker <boards <at> gmail.com>
> Date: Sun, 27 Oct 2013 16:54:06 -0500
> Subject: [PATCH] Updated a couple compiler checks to support clang.
>
> * lib/poll.c [__clang__]: Same functionality as GCC 4.3+ for ignoring
> the (nfd < 0) tests.
> * lib/verify.h [__has_feature(c_static_assert)]: Enables
> _GL_HAVE__STATIC_ASSERT when clang feature is available for C.
> * lib/verify.h [__has_feature(cxx_static_assert)]: Enables
> * _GL_HAVE_STATIC_ASSERT when clang feature is available for C++.
Both of these files are part of gnulib. As a matter of policy, we do
not change those files in our repository. Instead we update from
gnulib's repository from time to time.
Can you please send this problem report and patch to
<bug-gnulib <at> gnu.org> ?
I'm closing this bug, since there's nothing for us to do in Guile. If
you find any clang-related problems in Guile itself, please let us know.
Thanks,
Mark
This bug report was last modified 11 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.