diff options
author | Josh Blum | 2011-03-14 11:23:19 -0700 |
---|---|---|
committer | Josh Blum | 2011-03-14 11:23:19 -0700 |
commit | bf9c13870fa9766b68dbfeda9307c4a0aa5e2963 (patch) | |
tree | ee833cbdc74e4ebe51dc37cddcd47cf7837ad3fa /gnuradio-core/src/lib/missing | |
parent | 07bd878bc30f7ab54afc1e2f0055419388c3c992 (diff) | |
download | gnuradio-bf9c13870fa9766b68dbfeda9307c4a0aa5e2963.tar.gz gnuradio-bf9c13870fa9766b68dbfeda9307c4a0aa5e2963.tar.bz2 gnuradio-bf9c13870fa9766b68dbfeda9307c4a0aa5e2963.zip |
created gruel/attributes.h to house compiler specific attribute macros
replaced instances of __attribute__ with __GR_ATTR from attributes.h
what else has compiler specific attributes?
volk - volk is stand-alone, needs its own attributes.h
gcell - not touching that, probably gcc only anyways
usrp2 firmware - does not matter to host build
Diffstat (limited to 'gnuradio-core/src/lib/missing')
-rw-r--r-- | gnuradio-core/src/lib/missing/bug_work_around_8.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/missing/bug_work_around_8.cc b/gnuradio-core/src/lib/missing/bug_work_around_8.cc index b2cbdb3d9..5e431a210 100644 --- a/gnuradio-core/src/lib/missing/bug_work_around_8.cc +++ b/gnuradio-core/src/lib/missing/bug_work_around_8.cc @@ -1,2 +1,3 @@ // if libmisc has no sources, it doesn't get built correctly -static int gr_bug_work_around_8 __attribute__((unused)); +#include <gruel/attributes.h> +static int gr_bug_work_around_8 __GR_ATTR_UNUSED; |