{"action":"created","issue":{"url":"https://api.github.com/repos/GreyGnome/EnableInterrupt/issues/25","labels_url":"https://api.github.com/repos/GreyGnome/EnableInterrupt/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/GreyGnome/EnableInterrupt/issues/25/comments","events_url":"https://api.github.com/repos/GreyGnome/EnableInterrupt/issues/25/events","html_url":"https://github.com/GreyGnome/EnableInterrupt/issues/25","id":111226740,"number":25,"title":"Examples won't compile","user":{"login":"RobertClemenzi","id":5026587,"avatar_url":"https://avatars.githubusercontent.com/u/5026587?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertClemenzi","html_url":"https://github.com/RobertClemenzi","followers_url":"https://api.github.com/users/RobertClemenzi/followers","following_url":"https://api.github.com/users/RobertClemenzi/following{/other_user}","gists_url":"https://api.github.com/users/RobertClemenzi/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertClemenzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertClemenzi/subscriptions","organizations_url":"https://api.github.com/users/RobertClemenzi/orgs","repos_url":"https://api.github.com/users/RobertClemenzi/repos","events_url":"https://api.github.com/users/RobertClemenzi/events{/privacy}","received_events_url":"https://api.github.com/users/RobertClemenzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T17:14:15Z","updated_at":"2015-10-15T13:11:38Z","closed_at":null,"body":"I have tried 3 examples, and none of them compiles. I am using Arduino 1.0.5 IDE. The following are just examples, there are many more errors.\r\n\r\nEnableInterrupt OOSimple\r\nOOSimple.ino: In function 'void* createSimple()':\r\nOOSimple:10: error: previous declaration of 'void* createSimple()' with 'C++' linkage\r\n\r\nEnableInterruptTest:183: error: 'ByteBuffer' does not name a type\r\nEnableInterruptTest.ino: In function 'void quicfunc0()':\r\nEnableInterruptTest:228: error: 'PCintPort' has not been declared\r\n\r\nSimpleWithLibrary.cpp.o: In function `UselessClass':\r\n/Useless.h:19: undefined reference to `UselessClass::init(unsigned char, unsigned char)'\r\n\r\nIn my own code, when I include the header file in just my library cpp file, I get\r\nC:\\...\\mcHC_SR04.cpp:81: error: 'disableInterrupt' was not declared in this scope\r\nTo make the code work, I had to include the header in both the main sketch and the library file. The #define LIBCALL_ENABLEINTERRUPT worked in either file."},"comment":{"url":"https://api.github.com/repos/GreyGnome/EnableInterrupt/issues/comments/148380521","html_url":"https://github.com/GreyGnome/EnableInterrupt/issues/25#issuecomment-148380521","issue_url":"https://api.github.com/repos/GreyGnome/EnableInterrupt/issues/25","id":148380521,"user":{"login":"GreyGnome","id":3449497,"avatar_url":"https://avatars.githubusercontent.com/u/3449497?v=3","gravatar_id":"","url":"https://api.github.com/users/GreyGnome","html_url":"https://github.com/GreyGnome","followers_url":"https://api.github.com/users/GreyGnome/followers","following_url":"https://api.github.com/users/GreyGnome/following{/other_user}","gists_url":"https://api.github.com/users/GreyGnome/gists{/gist_id}","starred_url":"https://api.github.com/users/GreyGnome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GreyGnome/subscriptions","organizations_url":"https://api.github.com/users/GreyGnome/orgs","repos_url":"https://api.github.com/users/GreyGnome/repos","events_url":"https://api.github.com/users/GreyGnome/events{/privacy}","received_events_url":"https://api.github.com/users/GreyGnome/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T13:11:38Z","updated_at":"2015-10-15T13:11:38Z","body":"I will exclude examples that should not be included in the distribution, from the distribution's zip file. Even better, I will create a \"Tests\" directory."}}