Rank: Member
Groups: Registered
Joined: 7/25/2015(UTC) Posts: 17
|
I have been trying to write a custom node containing lots of code and the inevitable typos creep in. On 'connecting', the code is compiled and syntax errors are reported in the message window but there are no line numbers making it difficult to find the errors. Can you turn on reporting of line numbers by the compiler and then use the preprocessor #line directive to indicate where they are as per https://gcc.gnu.org/onli...s/cpp/Line-Control.html?Obviously, 'file' will not be a real file but a pseudo file name like 'MyCustomBlock_SetupCode' or 'MyCustomBlock_EveryUpdate_2'.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 109 time(s) in 104 post(s)
|
Yeah that would be really helpful. Thanks for pointing me to the solution, I'll check it out and put it on the todo list for the next update.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.