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
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 

is there something else to try?

thanks a lot for each support..

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


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





/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)

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

At global scope:

warning: ‘<unnamed>::_1’
defined but not used

  warning: ‘<unnamed>::_2’
defined but not used

  warning: ‘<unnamed>::_3’
defined but not used




  Erster! Sommerfotos
mit Hotmail versenden - 70% schneller!
Surfen – optimiert für MSN.

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