Search the Community
Showing results for tags 'gcc'.
Hello Everyone, I came to an issue which is only occuring with gcc-7.4.0 and linux 32 bit. The issue is with this static cast statement in the following scenario. # define SC_MAKE_FUNC_PTR(callback_tag, func) \ static_cast<sc_core::SC_ENTRY_FUNC>(&callback_tag::func) I Create a SystemC shared library (systemc.so) It has a memory Module Memory Module has TWO SC_METHODS p_memory and p_foo p_foo has no implementation --> this should give linking error. In order to provide some utlity to detect t
include/sysc/communication/sc_fifo.h:269:10: warning: unused variable ‘write_success’ [-Wunused-variable] bool write_success = sc_fifo<T>::nb_write(val_); include/sysc/communication/sc_fifo.h:226:10: warning: unused variable ‘read_success’ [-Wunused-variable] bool read_success = sc_fifo<T>::nb_read(val_); sc_fifo.h: bool write_success = sc_fifo<T>::nb_write(val_); sc_assert( write_success ); sc_report.h #if defined(NDEBUG) && !defined(SC_ENABLE_ASSERTIONS) // disable assertions #define sc_assert(expr) \ ((void
I am totally new to systemc. i am using gcc 7.3.0. while compiling it says error: std::gets has not been declared... while searching for a solution i found that gcc 4.8 is hugely compatible with c++11... so does i have to download gcc 4.8? any help will be hugely appreciated