Hi Marcus,

Please find attached the txt file with the warnings.

Cheers,

Zo



Date: Thu, 2 May 2013 11:18:59 -0700
From: ml-node+s4n41109...@n7.nabble.com
To: xtmpcvs...@hotmail.com
Subject: Re: Error in Building UHD on Windows



        If everything works fine: Ignore them.

The first one seems interesting, but does not necessarily imply an

error.

(sometimes you really just want to check if a double is still

in initialized state, e.g. filled with zeros and therefore use it as a 

boolean; some compilers interpret that as cast to int)

However, could you point out the file that warning occurred, just to 

help check things for consistency?


Thanks,

Marcus Müller


Am 02.05.2013 10:42, schrieb Zooz Engineer:

> However, I have some 27 warnings in MSVC and I don't know how important

> they are:

>

> C4244: '=' : conversion from 'double' to 'uint32_t', possible loss of data

> C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)

> C4305: '=' : truncation from 'double' to 'float'

>

> Can they be fixed or I can just ignore them?

>

> Best,

> Zo


_______________________________________________

Discuss-gnuradio mailing list

[hidden email]

https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


        
        
        
        

        

        
        
                If you reply to this email, your message will be added to the 
discussion below:
                
http://gnuradio.4.n7.nabble.com/Error-in-Building-UHD-on-Windows-tp41004p41109.html
        
        
                To start a new topic under GnuRadio, email 
ml-node+s4n2...@n7.nabble.com 

                To unsubscribe from GnuRadio, click here.

                NAML
                                                                                
          
Warning    2    warning C4244: '=' : conversion from 'double' to 'uint32_t', 
possible loss of data    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp    1312    1  
  uhd
Warning    3    warning C4244: '=' : conversion from 'double' to 'uint32_t', 
possible loss of data    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp    1314    1  
  uhd
Warning    4    warning C4244: '=' : conversion from 'double' to 'uint32_t', 
possible loss of data    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp    1327    1  
  uhd
Warning    5    warning C4244: '=' : conversion from 'double' to 'uint32_t', 
possible loss of data    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp    1329    1  
  uhd
Warning    6    warning C4244: '=' : conversion from 'double' to 'uint32_t', 
possible loss of data    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp    1343    1  
  uhd
Warning    9    warning C4244: '=' : conversion from 'std::streamoff' to 'int', 
possible loss of data    C:\UHD\host\utils\usrp_n2xx_simple_net_burner.cpp    
117    1    usrp_n2xx_simple_net_burner
Warning    10    warning C4244: '=' : conversion from 'std::streamoff' to 
'int', possible loss of data    
C:\UHD\host\utils\usrp_n2xx_simple_net_burner.cpp    151    1    
usrp_n2xx_simple_net_burner
Warning    11    warning C4244: 'argument' : conversion from 'double' to 'const 
std::complex<float>::_Ty', possible loss of data    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    76    1    
txrx_loopback_to_file
Warning    12    warning C4244: 'argument' : conversion from 'double' to 'const 
std::complex<float>::_Ty', possible loss of data    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    76    1    
txrx_loopback_to_file
Warning    19    warning C4244: 'argument' : conversion from 'double' to 'const 
std::complex<float>::_Ty', possible loss of data    
C:\UHD\host\examples\tx_waveforms.cpp    75    1    tx_waveforms
Warning    20    warning C4244: 'argument' : conversion from 'double' to 'const 
std::complex<float>::_Ty', possible loss of data    
C:\UHD\host\examples\tx_waveforms.cpp    75    1    tx_waveforms
Warning    22    warning C4244: 'argument' : conversion from 'double' to 
'int64_t', possible loss of data    
C:\UHD\host\examples\tx_samples_from_file.cpp    189    1    
tx_samples_from_file
Warning    1    warning C4244: 'argument' : conversion from 'double' to 
'uint32_t', possible loss of data    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp   
 1095    1    uhd
Warning    26    warning C4244: 'argument' : conversion from 'time_t' to 
'unsigned int', possible loss of data    
C:\UHD\host\examples\transport_hammer.cpp    73    1    transport_hammer
Warning    27    warning C4244: 'argument' : conversion from 'time_t' to 
'unsigned int', possible loss of data    
C:\UHD\host\examples\transport_hammer.cpp    123    1    transport_hammer
Warning    13    warning C4244: 'initializing' : conversion from 'double' to 
'float', possible loss of data    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    144    1    
txrx_loopback_to_file
Warning    15    warning C4244: 'initializing' : conversion from 'double' to 
'float', possible loss of data    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    144    1    
txrx_loopback_to_file
Warning    17    warning C4244: 'initializing' : conversion from 'double' to 
'float', possible loss of data    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    144    1    
txrx_loopback_to_file
Warning    23    warning C4244: 'initializing' : conversion from 
'std::streamsize' to 'size_t', possible loss of data    
C:\UHD\host\examples\tx_samples_from_file.cpp    57    1    tx_samples_from_file
Warning    24    warning C4244: 'initializing' : conversion from 
'std::streamsize' to 'size_t', possible loss of data    
C:\UHD\host\examples\tx_samples_from_file.cpp    57    1    tx_samples_from_file
Warning    25    warning C4244: 'initializing' : conversion from 
'std::streamsize' to 'size_t', possible loss of data    
C:\UHD\host\examples\tx_samples_from_file.cpp    57    1    tx_samples_from_file
Warning    14    warning C4305: '=' : truncation from 'double' to 'float'    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    158    1    
txrx_loopback_to_file
Warning    16    warning C4305: '=' : truncation from 'double' to 'float'    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    158    1    
txrx_loopback_to_file
Warning    18    warning C4305: '=' : truncation from 'double' to 'float'    
C:\UHD\host\examples\txrx_loopback_to_file.cpp    158    1    
txrx_loopback_to_file
Warning    7    warning C4800: 'int' : forcing value to bool 'true' or 'false' 
(performance warning)    C:\UHD\host\lib\usrp\dboard\db_tvrx2.cpp    1713    1  
  uhd
Warning    21    warning C4800: 'unsigned int' : forcing value to bool 'true' 
or 'false' (performance warning)    
C:\UHD\host\examples\tx_samples_from_file.cpp    104    1    
tx_samples_from_file
Warning    8    warning C4800: 'void *' : forcing value to bool 'true' or 
'false' (performance warning)    
C:\UHD\host\utils\usrp_n2xx_simple_net_burner.cpp    67    1    
usrp_n2xx_simple_net_burner
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to