|
|
Re: no (path) in problems window list [message #1836311 is a reply to message #1836309] |
Mon, 28 December 2020 16:49   |
Eclipse User |
|
|
|
the exact same way as they exist for class files. Only difference is that it is a program file ClassTest.cpp instead of class.hpp and class.cpp
-- in console output: introduced error for description of problem- -
Making Util:: classes...
Making Net:: classes...
ClassTest.cpp: In function 'bool Test_SpcPktMessage()':
ClassTest.cpp:188:67: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
MessageSpcPkt message("msg", MessageSpcPkt::RAW_TC, 0xf0, 0x00);
^
In file included from ClassTest.cpp:14:
/6TB/home/Q7-common/classes/Net/MessageSpcPkt.hpp:60:32: note: initializing argument 1 of 'Net::MessageSpcPkt::MessageSpcPkt(int, uint8_t, uint8_t, uint8_t)'
explicit MessageSpcPkt(int mType, uint8_t apid, uint8_t cpu, uint8_t priority = 0):
~~~~^~~~~
[Updated on: Mon, 28 December 2020 16:50] by Moderator
|
|
|
Re: no (path) in problems window list [message #1836312 is a reply to message #1836311] |
Mon, 28 December 2020 16:59  |
Eclipse User |
|
|
|
well I just noticed that the make is from within the actual source directly and it is NOT including full path on the error line. is that a constraint of the error checker, that it needs full paths to resolve?
Apparently not, because a similar error introduced into a class file for testing purporse works as expected, yet does NOT contain full path infomration in the console log.
[Updated on: Mon, 28 December 2020 17:02] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02886 seconds