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/general | |
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/general')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h index 024d74ada..f17b68aa0 100644 --- a/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h +++ b/gnuradio-core/src/lib/general/gr_mpsk_receiver_cc.h @@ -23,6 +23,7 @@ #ifndef INCLUDED_GR_MPSK_RECEIVER_CC_H #define INCLUDED_GR_MPSK_RECEIVER_CC_H +#include <gruel/attributes.h> #include <gr_block.h> #include <gr_complex.h> #include <fstream> @@ -299,7 +300,7 @@ protected: static const unsigned int DLLEN = 8; //! delay line plus some length for overflow protection - gr_complex d_dl[2*DLLEN] __attribute__ ((aligned(8))); + __GR_ATTR_ALIGNED(8) gr_complex d_dl[2*DLLEN]; //! index to delay line unsigned int d_dl_idx; |