patch-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch-gnuradio] A few patches to help building on Windows MSVC


From: Eugene Grayver
Subject: [Patch-gnuradio] A few patches to help building on Windows MSVC
Date: Wed, 6 Jun 2007 18:01:48 -0700


Hello,

I am using gnuradio under MSVC with a few hacks to make it run under C++ alone.  I ran into a few minor 'bugs' that prevent me from building using MSVC or Intel C++ compiler.  Could somebody with an SVN account put these changes in:

gr_firdes.cc:344
Argument to 'log' should be in floating point format.
double s = 1.0/(sqrt(log(2)) / (2*M_PI*bt)); double s = 1.0/(sqrt(log(2.0)) / (2*M_PI*bt));



gr_fxpt.h:42
Data member initialization is not allowed by Intel C++ compiler.  There's something there already for the GCC 4.x bug.
  static const float PI = 3.14159265358979323846;
static const float TWO_TO_THE_31 = 2147483648.0;
static const float PI;

static const float TWO_TO_THE_31;

gr_fxpt.cc: 36
const float gr_fxpt::TWO_TO_THE_31;

const float gr_fxpt::PI;
const float gr_fxpt::TWO_TO_THE_31 = 2147483648.0;
const float gr_fxpt::PI = 3.14159265358979323846;


Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]