Description
I have encountered problem with Arduino IDE 1.6.7 (Linux 64 bit) showing wrong place where error during compilation has occurred. For me this is only case for error void value not ignored as it ought to be
, other seems to be OK.
When sketch is in two or more tabs, and void function is used as non-void value in other tab when defined IDE returns error void value not ignored as it ought to be
but it shows correct line number and wrong tab - where function is defined and not where it was used as non void value. Example in attached sketch.
Expected behavior When compiling it should throw error and show line 3 in tab not_ignored_void
Current behavior Shows error in line 3 in tab tab2
This make very hard, especially for not advanced user to identify real problem with program.
Since I can not drop .zip file as attachment (Ubuntu 15.10 FF44.0.2) despite it should be supported example code is in this gist: https://gist.github.com/netmaniac/cbff2b5e6476f52a9d7c