summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general
diff options
context:
space:
mode:
authoranastas2009-06-23 15:28:16 +0000
committeranastas2009-06-23 15:28:16 +0000
commit3d96f5933c45f7024e11d996c49b02955c4c74d8 (patch)
tree02c57a71e2bdd5c6997b1d1e64b6acdd7ad495e4 /gnuradio-core/src/lib/general
parentf0de5dc2c49858b7ea9c8304466ee0c6604e7311 (diff)
downloadgnuradio-3d96f5933c45f7024e11d996c49b02955c4c74d8.tar.gz
gnuradio-3d96f5933c45f7024e11d996c49b02955c4c74d8.tar.bz2
gnuradio-3d96f5933c45f7024e11d996c49b02955c4c74d8.zip
added include <cstdio> statements in several files to make it compatible with g++ 4.4
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11265 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/general')
-rw-r--r--gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_clock_recovery_mm_cc.cc2
-rw-r--r--gnuradio-core/src/lib/general/gr_constellation_decoder_cb.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc2
-rw-r--r--gnuradio-core/src/lib/general/gr_dd_mpsk_sync_cc.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_dpll_bb.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_fft_vfc.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_ofdm_frame_acquisition.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_ofdm_sampler.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_simple_correlator.cc1
-rw-r--r--gnuradio-core/src/lib/general/gr_stream_mux.cc1
11 files changed, 13 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc b/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc
index 38d18b736..241a33f5d 100644
--- a/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc
+++ b/gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.cc
@@ -29,6 +29,7 @@
#include <assert.h>
#include <stdexcept>
#include <string.h>
+#include <cstdio>
//define ALIGN_ADVANCED_IMPLEMENTATION to have an alternative implementation of the align algoritm which exactly follows the align_interval spec.
//It is more resource intensive, less tested and probably not needed
diff --git a/gnuradio-core/src/lib/general/gr_clock_recovery_mm_cc.cc b/gnuradio-core/src/lib/general/gr_clock_recovery_mm_cc.cc
index 076dd437a..60e3dd13d 100644
--- a/gnuradio-core/src/lib/general/gr_clock_recovery_mm_cc.cc
+++ b/gnuradio-core/src/lib/general/gr_clock_recovery_mm_cc.cc
@@ -29,6 +29,8 @@
#include <gr_clock_recovery_mm_cc.h>
#include <gri_mmse_fir_interpolator_cc.h>
#include <stdexcept>
+#include <cstdio>
+
// Public constructor
diff --git a/gnuradio-core/src/lib/general/gr_constellation_decoder_cb.cc b/gnuradio-core/src/lib/general/gr_constellation_decoder_cb.cc
index e94cc697f..5b87f1430 100644
--- a/gnuradio-core/src/lib/general/gr_constellation_decoder_cb.cc
+++ b/gnuradio-core/src/lib/general/gr_constellation_decoder_cb.cc
@@ -28,6 +28,7 @@
#include <gr_io_signature.h>
#include <stdexcept>
+#include <cstdio>
#include <iostream>
using std::cout;
using std::endl;
diff --git a/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc b/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
index ce2bd6c15..43dae6c1a 100644
--- a/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
+++ b/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
@@ -28,6 +28,8 @@
#include <gr_io_signature.h>
#include <stdexcept>
#include <gr_count_bits.h>
+#include <cstdio>
+
#define VERBOSE 0
diff --git a/gnuradio-core/src/lib/general/gr_dd_mpsk_sync_cc.cc b/gnuradio-core/src/lib/general/gr_dd_mpsk_sync_cc.cc
index f410b9076..d4141efc7 100644
--- a/gnuradio-core/src/lib/general/gr_dd_mpsk_sync_cc.cc
+++ b/gnuradio-core/src/lib/general/gr_dd_mpsk_sync_cc.cc
@@ -30,6 +30,7 @@
#include <gri_mmse_fir_interpolator_cc.h>
#include <math.h>
#include <stdexcept>
+#include <cstdio>
#include <gr_complex.h>
diff --git a/gnuradio-core/src/lib/general/gr_dpll_bb.cc b/gnuradio-core/src/lib/general/gr_dpll_bb.cc
index 9f597489e..f24b2a88e 100644
--- a/gnuradio-core/src/lib/general/gr_dpll_bb.cc
+++ b/gnuradio-core/src/lib/general/gr_dpll_bb.cc
@@ -26,6 +26,7 @@
#include <gr_dpll_bb.h>
#include <gr_io_signature.h>
+#include <cstdio>
gr_dpll_bb_sptr
gr_make_dpll_bb (float period, float gain)
diff --git a/gnuradio-core/src/lib/general/gr_fft_vfc.cc b/gnuradio-core/src/lib/general/gr_fft_vfc.cc
index c954e4443..df68af7e1 100644
--- a/gnuradio-core/src/lib/general/gr_fft_vfc.cc
+++ b/gnuradio-core/src/lib/general/gr_fft_vfc.cc
@@ -30,6 +30,7 @@
#include <math.h>
#include <stdexcept>
#include <string.h>
+#include <cstdio>
// FIXME after this is working, change to use native real to complex fft.
diff --git a/gnuradio-core/src/lib/general/gr_ofdm_frame_acquisition.cc b/gnuradio-core/src/lib/general/gr_ofdm_frame_acquisition.cc
index b19b82abd..fd27e6d48 100644
--- a/gnuradio-core/src/lib/general/gr_ofdm_frame_acquisition.cc
+++ b/gnuradio-core/src/lib/general/gr_ofdm_frame_acquisition.cc
@@ -28,6 +28,7 @@
#include <gr_io_signature.h>
#include <gr_expj.h>
#include <gr_math.h>
+#include <cstdio>
#define VERBOSE 0
#define M_TWOPI (2*M_PI)
diff --git a/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc b/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
index 7defe3832..74bd65a50 100644
--- a/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
+++ b/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
@@ -27,6 +27,7 @@
#include <gr_ofdm_sampler.h>
#include <gr_io_signature.h>
#include <gr_expj.h>
+#include <cstdio>
gr_ofdm_sampler_sptr
gr_make_ofdm_sampler (unsigned int fft_length,
diff --git a/gnuradio-core/src/lib/general/gr_simple_correlator.cc b/gnuradio-core/src/lib/general/gr_simple_correlator.cc
index 0d575694b..ebfbfa72e 100644
--- a/gnuradio-core/src/lib/general/gr_simple_correlator.cc
+++ b/gnuradio-core/src/lib/general/gr_simple_correlator.cc
@@ -31,6 +31,7 @@
#include <stdexcept>
#include <gr_count_bits.h>
#include <string.h>
+#include <cstdio>
static const int THRESHOLD = 3;
diff --git a/gnuradio-core/src/lib/general/gr_stream_mux.cc b/gnuradio-core/src/lib/general/gr_stream_mux.cc
index e56974c50..06556b583 100644
--- a/gnuradio-core/src/lib/general/gr_stream_mux.cc
+++ b/gnuradio-core/src/lib/general/gr_stream_mux.cc
@@ -27,6 +27,7 @@
#include <gr_stream_mux.h>
#include <gr_io_signature.h>
#include <string.h>
+#include <cstdio>
#define VERBOSE 0