{"action":"opened","issue":{"url":"https://api.github.com/repos/FastLED/FastLED/issues/251","labels_url":"https://api.github.com/repos/FastLED/FastLED/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/FastLED/FastLED/issues/251/comments","events_url":"https://api.github.com/repos/FastLED/FastLED/issues/251/events","html_url":"https://github.com/FastLED/FastLED/issues/251","id":128964728,"number":251,"title":"\"function was not declared in this scope\"-error when including FastLED","user":{"login":"itsterp","id":5691659,"avatar_url":"https://avatars.githubusercontent.com/u/5691659?v=3","gravatar_id":"","url":"https://api.github.com/users/itsterp","html_url":"https://github.com/itsterp","followers_url":"https://api.github.com/users/itsterp/followers","following_url":"https://api.github.com/users/itsterp/following{/other_user}","gists_url":"https://api.github.com/users/itsterp/gists{/gist_id}","starred_url":"https://api.github.com/users/itsterp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsterp/subscriptions","organizations_url":"https://api.github.com/users/itsterp/orgs","repos_url":"https://api.github.com/users/itsterp/repos","events_url":"https://api.github.com/users/itsterp/events{/privacy}","received_events_url":"https://api.github.com/users/itsterp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-26T22:33:32Z","updated_at":"2016-01-26T22:33:32Z","closed_at":null,"body":"I just upgraded from Arduino 1.6.5-r2 to 1.6.7 and I am now getting errors if I try to call functions that are going to be declared later in the sketch but haven't been declared yet. Example:\r\n\r\n    #include <FastLED.h>\r\n\r\n    void setup() {\r\n      // put your setup code here, to run once:\r\n    }\r\n\r\n    void loop() {\r\n      // put your main code here, to run repeatedly:\r\n    }\r\n\r\n    void func1(){\r\n      func2();\r\n    }\r\n\r\n    void func2(){\r\n      func1();\r\n    }\r\n\r\nIf I try to compile this code, I get an error saying:\r\n    sketch_jan26a:14: error: 'func2' was not declared in this scope\r\n    func2();\r\n    ^\r\n    exit status 1\r\n    'func2' was not declared in this scope\r\n\r\nIf I comment the #include <FastLED.h> line, the code compiles just fine.\r\nI am running the lastest Arduino 1.6.7, latest Teensyduino 1.27, lastest version of FastLED-master and board selected as Teensy 3.2 / 3.1"}}