Thread: : error: no match for 'operator<<' in 'os << *(((cmd*)((const sc_core::sc_fifo<cmd>*)

  1. #1
    Registered User
    Join Date
    Dec 2017
    Posts
    10

    : error: no match for 'operator<<' in 'os << *(((cmd*)((const sc_core::sc_fifo<cmd>*)

    Hi

    while running the code as attached

    I am getting the following error

    C:/Xilinx/Vivado_HLS/2015.4/win64/tools/systemc/include/sysc/communication/sc_fifo.h:314:13: error: no match for 'operator<<' in 'os << *(((cmd*)((const sc_core::sc_fifo<cmd>*)this)->sc_core::sc_fifo<cmd>::m_buf) + ((unsigned int)(((unsigned int)i) * 16u)))

    Can anyone please help
    Attached Files Attached Files

  2. #2
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,106
    Quote Originally Posted by uzmeed View Post
    Hi

    while running the code as attached

    I am getting the following error

    C:/Xilinx/Vivado_HLS/2015.4/win64/tools/systemc/include/sysc/communication/sc_fifo.h:314:13: error: no match for 'operator<<' in 'os << *(((cmd*)((const sc_core::sc_fifo<cmd>*)this)->sc_core::sc_fifo<cmd>::m_buf) + ((unsigned int)(((unsigned int)i) * 16u)))

    Can anyone please help
    You are asking questions about C++ code in a C Programming Language forum. Perhaps it would be better to ask in the C++ Forum on this site.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [Error] no match for 'operator<' in '(& st
    By Дмитро in forum C++ Programming
    Replies: 1
    Last Post: 12-16-2015, 11:50 AM
  2. error : no match for 'operator<<' in 'std::cin 1935374429'
    By funnydarkvador in forum C++ Programming
    Replies: 3
    Last Post: 03-12-2013, 05:06 PM
  3. Fix basic error: no match for 'operator!=' in 'i != ...
    By aeolusaether in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2010, 12:27 AM
  4. new to C++ : Error: no match for `operator` ....
    By MasterACE14 in forum C++ Programming
    Replies: 13
    Last Post: 05-23-2008, 01:56 AM
  5. Replies: 3
    Last Post: 06-05-2006, 10:18 AM

Tags for this Thread