Quote:
Originally Posted by nocturna_gr
gcc compiler returns in the error the EXACT constructor signature found in the source code file
|
It is the exact constructor signature it understood from that source code. It is not a quote of the original source code from which it read that signature.
So you are saying it understood
read_file_to_matrix_wrapper::read_file_to_matrix_wrapper when it read
read_file_to_matrix_wrapper and it understood
sc_core::sc_module_name when it read
sc_module_name
The second could be from any number of scoping situations and I hope you have the scope correct (so the sc_module_name that is in scope where it is used is supposed to be the one from sc_core).
The first implies the constructor is defined within the class so you have the whole class definition in a cpp rather than an hpp, which is unusual but may be perfectly correct. Or mabe you just left out a detail when copying from the source code.
Quote:
sc_wrappers/read_file_to_matrix_wrapper.cpp:6
|
If you quoted the important part of the error message, this part tells you where to look for your bug. If you show us the first 7 lines of that file we can probably guess the nature of the bug.