Jump to content

aqib

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by aqib

  1. Hi 

    I am trying to install systemC 2.2.0 but it was giving ‘int compare_unsigned", "mutable" and "gets" error. Through your forum I have removed "mutable"  and fgets error. now problem is when I run @make" it pops up following error of "int compare_unsigned" . Is anyone have clue about this error. Thanks in advance for your time and help.

     

     

     

    /usr/local/systemc/include/sysc/datatypes/int/sc_unsigned.h:1849:14: error: friend declaration of ‘int compare_unsigned(sc_dt::small_type, int, int, const sc_digit*, sc_dt::small_type, int, int, const sc_digit*, sc_dt::small_type, sc_dt::small_type)’ specifies default arguments and isn’t a definition [-fpermissive]
     1849 |   friend int compare_unsigned(small_type us,
          |              ^~~~~~~~~~~~~~~~
    /usr/local/systemc/include/sysc/datatypes/int/sc_unsigned.h:1849:14: error: friend declaration of ‘int sc_dt::compare_unsigned(sc_dt::small_type, int, int, const sc_digit*, sc_dt::small_type, int, int, const sc_digit*, sc_dt::small_type, sc_dt::small_type)’ specifies default arguments and isn’t the only declaration [-fpermissive]
    /usr/local/systemc/include/sysc/datatypes/int/sc_unsigned.h:125:5: note: previous declaration of ‘int sc_dt::compare_unsigned(sc_dt::small_type, int, int, const sc_digit*, sc_dt::small_type, int, int, const sc_digit*, sc_dt::small_type, sc_dt::small_type)’
      125 | int compare_unsigned(small_type us,

×
×
  • Create New...