You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FastLED makes pretty extensive use of templates to do a lot of this work. Some of what's done with templates involves creating bitmasks from template parameters as parameters to other templates. Unfortunately, when the ctags parser sees "1<<X" as a template parameter, it eats itself.
Because ctags stops parsing, the prototype for myctagstestfunc() is never created, and the dreaded 'myctagstestfun' was not declared in this scope error (as seen in #68)
The text was updated successfully, but these errors were encountered:
Originally opened as arduino/arduino-builder#120
FastLED makes pretty extensive use of templates to do a lot of this work. Some of what's done with templates involves creating bitmasks from template parameters as parameters to other templates. Unfortunately, when the ctags parser sees "1<<X" as a template parameter, it eats itself.
This code demonstrates the problem:
Because ctags stops parsing, the prototype for myctagstestfunc() is never created, and the dreaded
'myctagstestfun' was not declared in this scope
error (as seen in #68)The text was updated successfully, but these errors were encountered: