Hi there,

I'm coding a program in C++ whose purpose is data logging, in it i'm using
GNU radio libraries. In addition, i'm declaring gr hierarchical blocks in
the code as they have a connect function that simplifies the complexity of
the program.

I'm using Visual studio IDE with visual C compiler to run the program and
as i do i get various errors which i have been trying to figure out for
days. I've googled similar errors and asked in stackoverflow but i've had
no luck.

Ill include some of the lines of errors i'm getting as well as some lines
of code(the program is small) to make this email as clear as possible. In
the attachment i included a txt file that contains the full code and
errors.

---------ERRORS ------------
1>c:\program files (x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(64): error
C2039: 'pow': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(64): error
C3861: 'pow': identifier not found
1>c:\program files (x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(81): error
C2039: 'powf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(81): error
C3861: 'powf': identifier not found
1>c:\program files (x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(256): error
C2039: 'atan2l': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(256): error
C3861: 'atan2l': identifier not found

------CODE------

int UHD_SAFE_MAIN(int argc, char *argv[])
{

 uhd::stream_args_t stream_args("fc32", "sc16");
 std::string device_args("serial=30DCE9E");
 std::string subdev("A:A A:B");
 std::string ant("RX2");

 std::string ref("default");
 double rate(5e6);
 double freq(130e6);
 double gain(0);
 double bw(1e6);


 gr::top_block_sptr tb = gr::make_top_block("fcd_nfm_rx");  // Construct a
top block that will contain flowgraph blocks.

 std::vector<float> bp1 = gr::filter::firdes::band_pass(1.0, 5000000.0,
128000000.0, 132000000.0, 1000000.0);

 std::vector<float> bp2 = gr::filter::firdes::band_pass(1.0, 5000000.0,
128000000.0, 132000000.0, 1000000.0);

 gr::filter::fir_filter_ccf::sptr filter1 =
gr::filter::fir_filter_ccf::make(1, bp1);
 gr::filter::fir_filter_ccf::sptr filter2 =
gr::filter::fir_filter_ccf::make(1, bp2);

 //head blocks
 gr::blocks::head::sptr head1 = gr::blocks::head::make(8,8448);
 gr::blocks::head::sptr head2 = gr::blocks::head::make(8, 8448);

 //skipheadblocks
 gr::blocks::skiphead::sptr skip1 = gr::blocks::skiphead::make(8, 256);
 gr::blocks::skiphead::sptr skip2 = gr::blocks::skiphead::make(8, 256);

 //converters
 gr::blocks::complex_to_float::sptr cf1 =
gr::blocks::complex_to_float::make();
 gr::blocks::complex_to_float::sptr cf2 =
gr::blocks::complex_to_float::make();
 gr::blocks::float_to_complex::sptr fc =
gr::blocks::float_to_complex::make();

 //interleave
 gr::blocks::interleave::sptr interleave =
gr::blocks::interleave::make(sizeof(gr_vector_float), 1);

 //data file
 gr::blocks::file_meta_sink::sptr file =
gr::blocks::file_meta_sink::make(8, "C:\\Program
Files\\GNURadio-3.7\\bin\\SDR.bin2", 5e6);
 file->set_unbuffered(false);

 //create a usrp device
 std::cout << std::endl; //this should be commented out
 gr::uhd::usrp_source::sptr usrp = gr::uhd::usrp_source::make(device_args,
stream_args);
......

As for attempted solutions i included the complex and xlocnum but had no
luck.
Another posible solution was that std:: is said to be undefined behaviour,
so i added "using namespace std;"(which is suggested not to do but how else
would i declare the strings and vector<float>) and deleted the "std::" in
each line that contained it, but again no luck.

If anything is required of me do not hesitate to ask, any sort of help is
greatly appreciated.


Ill include the headers im using here also:
#include <iostream>
#include "stdafx.h"
#include <cmath>
#include <uhd/usrp_source.h>
#include <filter/firdes.h>
#include <gnuradio/filter/fir_filter_ccf.h>
#include <gnuradio/top_block.h>
#include <gnuradio/blocks/head.h>
#include <gnuradio/blocks/skiphead.h>
#include <gnuradio/blocks/complex_to_float.h>
#include <gnuradio/blocks/float_to_complex.h>
#include <gnuradio/blocks/interleave.h>
#include <gnuradio/blocks/file_meta_sink.h>

--
// ConsoleApplication1.cpp : Defines the entry point for the console 
application.

#include <iostream>
#include "stdafx.h"
#include <cmath>
#include <uhd/usrp_source.h>
#include <filter/firdes.h>
#include <gnuradio/filter/fir_filter_ccf.h>
#include <gnuradio/top_block.h>
#include <gnuradio/blocks/head.h>
#include <gnuradio/blocks/skiphead.h>
#include <gnuradio/blocks/complex_to_float.h>
#include <gnuradio/blocks/float_to_complex.h>
#include <gnuradio/blocks/interleave.h>
#include <gnuradio/blocks/file_meta_sink.h>


//using namespace {
//#include <cstdlib>
//};

int UHD_SAFE_MAIN(int argc, char *argv[])
{
        
        uhd::stream_args_t stream_args("fc32", "sc16");
        std::string device_args("serial=30DCE9E");
        std::string subdev("A:A A:B");
        std::string ant("RX2");
        
        std::string ref("default");
        double rate(5e6);
        double freq(130e6);
        double gain(0);
        double bw(1e6);
        
        
        gr::top_block_sptr tb = gr::make_top_block("fcd_nfm_rx");  // Construct 
a top block that will contain flowgraph blocks.
                                                                                
                                          
        std::vector<float> bp1 = gr::filter::firdes::band_pass(1.0, 5000000.0, 
128000000.0, 132000000.0, 1000000.0);
        std::vector<float> bp2 = gr::filter::firdes::band_pass(1.0, 5000000.0, 
128000000.0, 132000000.0, 1000000.0);
        gr::filter::fir_filter_ccf::sptr filter1 = 
gr::filter::fir_filter_ccf::make(1, bp1);
        gr::filter::fir_filter_ccf::sptr filter2 = 
gr::filter::fir_filter_ccf::make(1, bp2);

        //head blocks
        gr::blocks::head::sptr head1 = gr::blocks::head::make(8,8448);
        gr::blocks::head::sptr head2 = gr::blocks::head::make(8, 8448);

        //skipheadblocks
        gr::blocks::skiphead::sptr skip1 = gr::blocks::skiphead::make(8, 256);
        gr::blocks::skiphead::sptr skip2 = gr::blocks::skiphead::make(8, 256);

        //converters 
        gr::blocks::complex_to_float::sptr cf1 = 
gr::blocks::complex_to_float::make();
        gr::blocks::complex_to_float::sptr cf2 = 
gr::blocks::complex_to_float::make();
        gr::blocks::float_to_complex::sptr fc = 
gr::blocks::float_to_complex::make();

        //interleave
        gr::blocks::interleave::sptr interleave = 
gr::blocks::interleave::make(sizeof(gr_vector_float), 1);

        //data file 
        gr::blocks::file_meta_sink::sptr file = 
gr::blocks::file_meta_sink::make(8, "C:\\Program 
Files\\GNURadio-3.7\\bin\\SDR.bin2", 5e6);
        file->set_unbuffered(false);

        //create a usrp device
        std::cout << std::endl;
        gr::uhd::usrp_source::sptr usrp = 
gr::uhd::usrp_source::make(device_args, stream_args);

        // Lock mboard clocks
        usrp->set_clock_source(ref);
        
        //Clock rate
        usrp->set_clock_rate(10e6);
        usrp->set_subdev_spec(subdev);
        
        //set the sample rate
        if (rate <= 0.0) {
        //      std::cerr << "Please specify a valid sample rate" << std::endl;
                return ~0;
        }

        // set sample rate
        usrp->set_samp_rate(rate);
        
        // set freq
        uhd::tune_request_t tune_request(freq);
        usrp->set_center_freq(tune_request,0);
        usrp->set_center_freq(tune_request,1); 
        

// set the rf gain
        
        usrp->set_gain(gain,0);
        usrp->set_gain(gain,1);

        // set the IF filter bandwidth
        usrp->set_bandwidth(bw,0); 
        usrp->set_bandwidth(bw,1);
        
        usrp->set_antenna(ant,0);
        usrp->set_antenna(ant,1); 
        
        tb->connect(usrp, 0, filter1, 0);
        tb->connect(usrp, 1, filter2, 0);
        tb->connect(filter1, 0, head1, 0);
        tb->connect(filter2, 0, head2, 0);
        tb->connect(head1, 0, skip1, 0);
        tb->connect(head2, 0, skip2, 0);
        tb->connect(skip1, 0, cf1, 0);
        tb->connect(skip2, 0, cf2, 0);
        tb->connect(cf1, 0, interleave, 0);
        tb->connect(cf1, 1, interleave, 1);
        tb->connect(cf2, 0, interleave, 2);
        tb->connect(cf2, 1, interleave, 3);
        tb->connect(interleave, 0, fc, 0);
        tb->connect(fc, 0, file, 0);
        //return EXIT_SUCCESS;
        return 0; 
}











---------ERRORS ------------

1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(64): error 
C2039: 'pow': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(64): error 
C3861: 'pow': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(81): error 
C2039: 'powf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xlocnum(81): error 
C3861: 'powf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(256): error 
C2039: 'atan2l': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(256): error 
C3861: 'atan2l': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(261): error 
C2039: 'cosl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(261): error 
C3861: 'cosl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(266): error 
C2039: 'expl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(266): error 
C3861: 'expl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(271): error 
C2039: 'ldexpl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(271): error 
C3861: 'ldexpl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(276): error 
C2039: 'logl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(276): error 
C3861: 'logl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(294): error 
C2039: 'powl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(294): error 
C3861: 'powl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(299): error 
C2039: 'sinl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(299): error 
C3861: 'sinl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(304): error 
C2039: 'sqrtl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(304): error 
C3861: 'sqrtl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(309): error 
C2039: 'tanl': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(309): error 
C3861: 'tanl': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(388): error 
C2039: 'atan2': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(393): error 
C2039: 'cos': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(398): error 
C2039: 'exp': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(403): error 
C2039: 'ldexp': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(408): error 
C2039: 'log': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(430): error 
C2039: 'pow': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(435): error 
C2039: 'sin': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(440): error 
C2039: 'sqrt': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(445): error 
C2039: 'tan': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(520): error 
C2039: 'atan2f': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(520): error 
C3861: 'atan2f': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(525): error 
C2039: 'cosf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(525): error 
C3861: 'cosf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(530): error 
C2039: 'expf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(530): error 
C3861: 'expf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(535): error 
C2039: 'ldexpf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(535): error 
C3861: 'ldexpf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(540): error 
C2039: 'logf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(540): error 
C3861: 'logf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(558): error 
C2039: 'powf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(558): error 
C3861: 'powf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(563): error 
C2039: 'sinf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(563): error 
C3861: 'sinf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(568): error 
C2039: 'sqrtf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(568): error 
C3861: 'sqrtf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(573): error 
C2039: 'tanf': is not a member of '`global namespace''
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\complex(573): error 
C3861: 'tanf': identifier not found
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): warning 
C4346: 'std::is_arithmetic<_Ty>::value': dependent name is not a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): note: 
prefix with 'typename' to indicate a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2146: syntax error: missing '>' before identifier '_Promote_to_float'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2433: '_Ty': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2365: '_Ty': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): note: 
see declaration of '_Ty'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2059: syntax error: '>'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(881): error 
C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): warning 
C4346: 'std::is_arithmetic<_Ty>::value': dependent name is not a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): note: 
prefix with 'typename' to indicate a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2146: syntax error: missing '>' before identifier '_Promote_to_float'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2433: '_Ty': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2365: '_Ty': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): note: 
see declaration of '_Ty'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2059: syntax error: '>'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(882): error 
C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): warning 
C4346: 'std::is_arithmetic<_Ty>::value': dependent name is not a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): note: 
prefix with 'typename' to indicate a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2146: syntax error: missing '>' before identifier '_Promote_to_float'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2433: '_Ty': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2365: '_Ty': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): note: 
see declaration of '_Ty'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2059: syntax error: '>'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(883): error 
C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): warning 
C4346: 'std::is_arithmetic<_Ty>::value': dependent name is not a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): note: 
prefix with 'typename' to indicate a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2146: syntax error: missing '>' before identifier '_Promote_to_float'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2433: '_Ty': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2365: '_Ty': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): note: 
see declaration of '_Ty'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2059: syntax error: '>'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(885): error 
C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): warning 
C4346: 'std::is_arithmetic<_Ty>::value': dependent name is not a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): note: 
prefix with 'typename' to indicate a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2146: syntax error: missing '>' before identifier '_Promote_to_float'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2433: '_Ty': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2365: '_Ty': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): note: 
see declaration of '_Ty'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2059: syntax error: '>'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(887): error 
C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): warning 
C4346: 'std::is_arithmetic<_Ty>::value': dependent name is not a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): note: 
prefix with 'typename' to indicate a type
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2146: syntax error: missing '>' before identifier '_Promote_to_float'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2433: '_Ty': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2365: '_Ty': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): note: 
see declaration of '_Ty'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2988: unrecognizable template declaration/definition
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2059: syntax error: '>'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2143: syntax error: missing ';' before '{'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(888): error 
C2447: '{': missing function header (old-style formal list?)
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(893): error 
C2146: syntax error: missing '>' before identifier '_Common_float_type'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(893): error 
C2947: expecting '>' to terminate template-argument-list, found '<'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(893): error 
C2433: '_Ty1': 'inline' not permitted on data declarations
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(893): error 
C2365: '_Ty1': redefinition; previous definition was 'template parameter'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(891): note: 
see declaration of '_Ty1'
1>c:\program files (x86)\microsoft visual 
studio\2017\community\vc\tools\msvc\14.10.25017\include\xcomplex(893): fatal 
error C1003: error count exceeds 100; stopping compilation
1>Done building project "ConsoleApplication1.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to