[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/07: add attributes for clang compiler
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/07: add attributes for clang compiler |
Date: |
Thu, 26 Jun 2014 19:54:37 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 5a9acd9f3803dc17ab7d1099fd7473d209b74351
Author: Michael Dickens <address@hidden>
Date: Mon Jun 16 12:59:46 2014 -0400
add attributes for clang compiler
---
gnuradio-runtime/include/gnuradio/attributes.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnuradio-runtime/include/gnuradio/attributes.h
b/gnuradio-runtime/include/gnuradio/attributes.h
index 5baa52e..3d2e764 100644
--- a/gnuradio-runtime/include/gnuradio/attributes.h
+++ b/gnuradio-runtime/include/gnuradio/attributes.h
@@ -37,6 +37,13 @@
# define __GR_ATTR_EXPORT
# define __GR_ATTR_IMPORT
# endif
+#elif defined __clang__
+# define __GR_ATTR_ALIGNED(x) __attribute__((aligned(x)))
+# define __GR_ATTR_UNUSED __attribute__((unused))
+# define __GR_ATTR_INLINE __attribute__((always_inline))
+# define __GR_ATTR_DEPRECATED __attribute__((deprecated))
+# define __GR_ATTR_EXPORT __attribute__((visibility("default")))
+# define __GR_ATTR_IMPORT __attribute__((visibility("default")))
#elif _MSC_VER
# define __GR_ATTR_ALIGNED(x) __declspec(align(x))
# define __GR_ATTR_UNUSED
- [Commit-gnuradio] [gnuradio] branch maint updated (c138442 -> 6e40376), git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 06/07: call do_update after calling open in the file source constructor, otherwise if seek is called before work, a segmentation fault will occur as d_fp is null, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 04/07: tag_checker.h: fix unitialized d_has_next_tag; coverity 1128348, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 07/07: runtime: fixed order of initializing warning in tag_checker constructor., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 05/07: check_lfsr_32k: fix < instead of <<; coverity 1046413, git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 02/07: cmake: runtime: On Darwin, malloc is always aligned to a 16 byte boundary, to work with Altivec and SSE (etc) SIMD; so, set ALIGNED_MALLOC to 16 for those Darwin systems that do not have posix_memalign., git, 2014/06/26
- [Commit-gnuradio] [gnuradio] 01/07: add attributes for clang compiler,
git <=
- [Commit-gnuradio] [gnuradio] 03/07: runtime: fix comment in posix_memalign., git, 2014/06/26