Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - RE: [systemc-forum] systemc compilation warning Message Thread: Previous | Next
  • To: <systemc-forum@xxxxxxxxxxxxxxxxx>
  • From: Mareon Dovak <mareon11@xxxxxxxxxxx>
  • Date: Mon, 31 Aug 2009 16:44:40 +0200
Send Email to systemc-forum@lists.systemc.org:
Send new message
Reply to this message

Hi Sumit,

it dose not help me. I still have the same warning.

i 've set the flags as following:

# use null version for SystemC-2.1v1 / boost / gcc-3.4.4
#FLAG_WERROR        = -Werror
#FLAG_WERROR         =

GXX                  = g++
GCC                  = gcc
LD                   = g++

FLAGS                = -g -Wall -pedantic -Wno-long-long -Wno-deprecated 
$(FLAG_WERROR) 


is there something else to try?

thanks a lot for each support..
Mareon 

Date: Mon, 31 Aug 2009 19:34:14 +0530
From: sumit.adhikari@xxxxxxxxx
To: mareon11@xxxxxxxxxxx
CC: systemc-forum@xxxxxxxxxxxxxxxxx
Subject: Re: [systemc-forum] systemc compilation warning






  
  


Use this option with g++ -Wno-deprecated -Wall

--------------------------------------------
Sumit Adhikari
System Design Engineer
austriamicrosystems AG
Business Unit : Automotive
Mob : 00-91-9885271710/00-91-9000161710




On 8/31/2009 7:24 PM, Mareon Dovak wrote:

  

Hi all,

  

How can i avoid this warning ? which compiler flag should i set in the
make file to avoid it? 

  

P.S.: I use Linux machine.

  

thanks a lot in advance..

Mareon Dovak

  

  

  

  

In file included from
/tools/systemc-2.2.0/include/sysc/datatypes/bit/sc_lv.h:49,

                 from
/tools/systemc-2.2.0/include/sysc/communication/sc_signal_rv.h:61,

                 from /tools/systemc-2.2.0/include/systemc:74,

                 from
/media/Datei/TLM-2.0.1/TLM-2009-07-15/include/tlm/tlm.h:21,

                 from
/media/Datei/include/../../TLM-2.0.1/TLM-2009-07-15/include/tlm/tlm_utils/simple_target_socket.h:28,

                 from
/media/Datei/university/DA/car2car_tlm/car2car_tlm_at_v0/include/traffic_receiver.h:5,

                 from
/media/Datei/university/DA/car2car_tlm/car2car_tlm_at_v0/src/traffic_receiver.cpp:3:

/tools/systemc-2.2.0/include/sysc/datatypes/bit/sc_lv_base.h: In member
function ‘sc_dt::sc_logic_value_t sc_dt::sc_lv_base::get_bit(int)
const’:

/tools/systemc-2.2.0/include/sysc/datatypes/bit/sc_lv_base.h:310: warning: 
suggest parentheses around
arithmetic in operand of |

/tools/systemc-2.2.0/include/sysc/packages/boost/bind/placeholders.hpp:
At global scope:

/tools/systemc-2.2.0/include/sysc/packages/boost/bind/placeholders.hpp:54: 
warning: ‘<unnamed>::_1’
defined but not used

/tools/systemc-2.2.0/include/sysc/packages/boost/bind/placeholders.hpp:55:
  warning: ‘<unnamed>::_2’
defined but not used

/tools/systemc-2.2.0/include/sysc/packages/boost/bind/placeholders.hpp:56:
  warning: ‘<unnamed>::_3’
defined but not used

...

  

  

  Erster! Sommerfotos
mit Hotmail versenden - 70% schneller!
_________________________________________________________________
http://redirect.gimas.net/?n=M0908axIE_MSN2
Surfen – optimiert für MSN.

By Date: Previous | Next Current Thread By Thread: Previous | Next