Jump to content
aqib

1849:14: error: friend declaration of ‘int compare_unsigned

Recommended Posts

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,

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...