{"action":"opened","issue":{"url":"https://api.github.com/repos/sieren/blidino/issues/10","repository_url":"https://api.github.com/repos/sieren/blidino","labels_url":"https://api.github.com/repos/sieren/blidino/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/sieren/blidino/issues/10/comments","events_url":"https://api.github.com/repos/sieren/blidino/issues/10/events","html_url":"https://github.com/sieren/blidino/issues/10","id":151735597,"number":10,"title":"Error Compiling","user":{"login":"popcornell","id":18726713,"avatar_url":"https://avatars.githubusercontent.com/u/18726713?v=3","gravatar_id":"","url":"https://api.github.com/users/popcornell","html_url":"https://github.com/popcornell","followers_url":"https://api.github.com/users/popcornell/followers","following_url":"https://api.github.com/users/popcornell/following{/other_user}","gists_url":"https://api.github.com/users/popcornell/gists{/gist_id}","starred_url":"https://api.github.com/users/popcornell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcornell/subscriptions","organizations_url":"https://api.github.com/users/popcornell/orgs","repos_url":"https://api.github.com/users/popcornell/repos","events_url":"https://api.github.com/users/popcornell/events{/privacy}","received_events_url":"https://api.github.com/users/popcornell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T20:28:12Z","updated_at":"2016-04-28T20:28:12Z","closed_at":null,"body":"Hi, i am using Arduino IDE 1.6.8, i followed all the instructions in the README.md but somewhat \r\ni still i get a compilation error. Maybe i am doing something wrong.\r\nI think i've installed correctly the readbearlab library because i can get working the examples.\r\nI've seen also the previous issues reported to no avail, especially the last which was a compiling issue too. It was fixed wasn't it ? \r\n\r\n\r\nThank you very much for your work \r\nSamuele\r\n\r\n\r\n\r\n**Error report : **\r\n\r\n\r\nArduino: 1.6.8 (Windows 10), Board: \"RBL nRF51822(V1.5 32KB)\"\r\n\r\nIn file included from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:23:0:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:24:13: error: expected unqualified-id before numeric constant\r\n\r\n #define D16 16\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:35:14: note: in expansion of macro 'D16'\r\n\r\n #define SCK  D16\r\n\r\n              ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h:159:18: note: in expansion of macro 'SCK'\r\n\r\n   __IO uint32_t  SCK;                               /*!< Pin select for SCK.                                                   */\r\n\r\n                  ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:26:13: error: expected unqualified-id before numeric constant\r\n\r\n #define D18 18\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:37:14: note: in expansion of macro 'D18'\r\n\r\n #define MOSI D18\r\n\r\n              ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h:160:18: note: in expansion of macro 'MOSI'\r\n\r\n   __IO uint32_t  MOSI;                              /*!< Pin select for MOSI.                                                  */\r\n\r\n                  ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:25:13: error: expected unqualified-id before numeric constant\r\n\r\n #define D17 17\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:36:14: note: in expansion of macro 'D17'\r\n\r\n #define MISO D17\r\n\r\n              ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/targets/cmsis/TARGET_NORDIC/TARGET_MCU_NRF51822/nrf51.h:161:18: note: in expansion of macro 'MISO'\r\n\r\n   __IO uint32_t  MISO;                              /*!< Pin select for MISO.                                                  */\r\n\r\n                  ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected nested-name-specifier before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:28:32: note: in expansion of macro 'A1'\r\n\r\n template <typename R, typename A1>\r\n\r\n                                ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected '>' before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:28:32: note: in expansion of macro 'A1'\r\n\r\n template <typename R, typename A1>\r\n\r\n                                ^\r\n\r\nIn file included from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/SerialBase.h:24:0,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/RawSerial.h:23,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/mbed.h:51,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\cores\\RBL_nRF51822/Arduino.h:13,\r\n\r\n                 from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:24:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:35:38: error: expected ',' or '...' before '(' token\r\n\r\n     FunctionPointerArg1(R (*function)(A1) = 0) {\r\n\r\n                                      ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:45:50: error: expected ',' or '...' before '(' token\r\n\r\n     FunctionPointerArg1(T *object, R (T::*member)(A1)) {\r\n\r\n                                                  ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:53:30: error: expected ',' or '...' before '(' token\r\n\r\n     void attach(R (*function)(A1)) {\r\n\r\n                              ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:64:42: error: expected ',' or '...' before '(' token\r\n\r\n     void attach(T *object, R (T::*member)(A1)) {\r\n\r\n                                          ^\r\n\r\nIn file included from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:23:0:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected identifier before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:72:12: note: in expansion of macro 'A1'\r\n\r\n     R call(A1 a) {\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected ',' or '...' before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:72:12: note: in expansion of macro 'A1'\r\n\r\n     R call(A1 a) {\r\n\r\n            ^\r\n\r\nIn file included from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/SerialBase.h:24:0,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/RawSerial.h:23,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/mbed.h:51,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\cores\\RBL_nRF51822/Arduino.h:13,\r\n\r\n                 from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:24:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:83:20: error: expected ')' before '(' token\r\n\r\n     R(*get_function(A1))() {\r\n\r\n                    ^\r\n\r\nIn file included from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:23:0:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected identifier before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:88:19: note: in expansion of macro 'A1'\r\n\r\n     R operator ()(A1 a) {\r\n\r\n                   ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected ',' or '...' before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:88:19: note: in expansion of macro 'A1'\r\n\r\n     R operator ()(A1 a) {\r\n\r\n                   ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected identifier before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:97:60: note: in expansion of macro 'A1'\r\n\r\n     static R membercaller(void *object, uintptr_t *member, A1 a) {\r\n\r\n                                                            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected ',' or '...' before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:97:60: note: in expansion of macro 'A1'\r\n\r\n     static R membercaller(void *object, uintptr_t *member, A1 a) {\r\n\r\n                                                            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected identifier before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:104:23: note: in expansion of macro 'A1'\r\n\r\n         R (*function)(A1); // static function pointer\r\n\r\n                       ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected ',' or '...' before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:104:23: note: in expansion of macro 'A1'\r\n\r\n         R (*function)(A1); // static function pointer\r\n\r\n                       ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected identifier before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:108:43: note: in expansion of macro 'A1'\r\n\r\n     R (*_membercaller)(void*, uintptr_t*, A1); // registered membercaller function to convert back and call _m.member on _object\r\n\r\n                                           ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:28:13: error: expected ',' or '...' before numeric constant\r\n\r\n #define D20 20\r\n\r\n             ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\variants\\RBL_nRF51822_32KB/pins_arduino.h:46:12: note: in expansion of macro 'D20'\r\n\r\n #define A1 D20\r\n\r\n            ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:108:43: note: in expansion of macro 'A1'\r\n\r\n     R (*_membercaller)(void*, uintptr_t*, A1); // registered membercaller function to convert back and call _m.member on _object\r\n\r\n                                           ^\r\n\r\nIn file included from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/SerialBase.h:24:0,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/RawSerial.h:23,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/mbed.h:51,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\cores\\RBL_nRF51822/Arduino.h:13,\r\n\r\n                 from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:24:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h: In member function 'void mbed::FunctionPointerArg1<R, <anonymous> >::attach(T*, R T::*)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:66:36: error: expected '>' before '(' token\r\n\r\n         *reinterpret_cast<R (T::**)(A1)>(_member) = member;\r\n\r\n                                    ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h: In member function 'R mbed::FunctionPointerArg1<R, <anonymous> >::call(int)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:74:31: error: 'a' was not declared in this scope\r\n\r\n            return _p.function(a);\r\n\r\n                               ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:76:53: error: 'a' was not declared in this scope\r\n\r\n            return _membercaller(_p.object, _member, a);\r\n\r\n                                                     ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h: In member function 'R mbed::FunctionPointerArg1<R, <anonymous> >::operator()(int)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:89:21: error: 'a' was not declared in this scope\r\n\r\n         return call(a);\r\n\r\n                     ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h: In static member function 'static R mbed::FunctionPointerArg1<R, <anonymous> >::membercaller(void*, uintptr_t*, int)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:99:24: error: expected ',' or ';' before '=' token\r\n\r\n         R (T::**m)(A1) = reinterpret_cast<R (T::**)(A1)>(member);\r\n\r\n                        ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:100:25: error: 'a' was not declared in this scope\r\n\r\n         return (o->**m)(a);\r\n\r\n                         ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h: At global scope:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:114:34: error: type/value mismatch at argument 2 in template parameter list for 'template<class R, int <anonymous> > class mbed::FunctionPointerArg1'\r\n\r\n class FunctionPointerArg1<R, void>{\r\n\r\n                                  ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:114:34: error:   expected a constant of type 'int', got 'void'\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:197:39: error: type/value mismatch at argument 2 in template parameter list for 'template<class R, int <anonymous> > class mbed::FunctionPointerArg1'\r\n\r\n typedef FunctionPointerArg1<void, void> FunctionPointer;\r\n\r\n                                       ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:197:39: error:   expected a constant of type 'int', got 'void'\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:197:56: error: invalid type in declaration before ';' token\r\n\r\n typedef FunctionPointerArg1<void, void> FunctionPointer;\r\n\r\n                                                        ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:198:38: error: type/value mismatch at argument 2 in template parameter list for 'template<class R, int <anonymous> > class mbed::FunctionPointerArg1'\r\n\r\n typedef FunctionPointerArg1<void, int> event_callback_t;\r\n\r\n                                      ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:198:38: error:   expected a constant of type 'int', got 'int'\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/FunctionPointer.h:198:56: error: invalid type in declaration before ';' token\r\n\r\n typedef FunctionPointerArg1<void, int> event_callback_t;\r\n\r\n                                                        ^\r\n\r\nIn file included from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/RawSerial.h:23:0,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/mbed.h:51,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\cores\\RBL_nRF51822/Arduino.h:13,\r\n\r\n                 from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:24:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/SerialBase.h: In member function 'void mbed::SerialBase::attach(T*, void (T::*)(), mbed::SerialBase::IrqType)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/SerialBase.h:106:24: error: request for member 'attach' in '((mbed::SerialBase*)this)->mbed::SerialBase::_irq[type]', which is of non-class type 'mbed::FunctionPointer {aka int}'\r\n\r\n             _irq[type].attach(tptr, mptr);\r\n\r\n                        ^\r\n\r\nIn file included from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/mbed.h:55:0,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\cores\\RBL_nRF51822/Arduino.h:13,\r\n\r\n                 from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:24:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/Ticker.h: In member function 'void mbed::Ticker::attach_us(void (*)(), timestamp_t)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/Ticker.h:92:19: error: request for member 'attach' in '((mbed::Ticker*)this)->mbed::Ticker::_function', which is of non-class type 'mbed::FunctionPointer {aka int}'\r\n\r\n         _function.attach(fptr);\r\n\r\n                   ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/Ticker.h: In member function 'void mbed::Ticker::attach_us(T*, void (T::*)(), timestamp_t)':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/Ticker.h:104:19: error: request for member 'attach' in '((mbed::Ticker*)this)->mbed::Ticker::_function', which is of non-class type 'mbed::FunctionPointer {aka int}'\r\n\r\n         _function.attach(tptr, mptr);\r\n\r\n                   ^\r\n\r\nIn file included from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/mbed.h:61:0,\r\n\r\n                 from C:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5\\cores\\RBL_nRF51822/Arduino.h:13,\r\n\r\n                 from C:\\Users\\popco\\Documents\\Arduino\\blidino-master\\nRF51822-BLEMIDI\\nRF51822-BLEMIDI.ino:24:\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/InterruptIn.h: In member function 'void mbed::InterruptIn::rise(T*, void (T::*)())':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/InterruptIn.h:84:15: error: request for member 'attach' in '((mbed::InterruptIn*)this)->mbed::InterruptIn::_rise', which is of non-class type 'mbed::FunctionPointer {aka int}'\r\n\r\n         _rise.attach(tptr, mptr);\r\n\r\n               ^\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/InterruptIn.h: In member function 'void mbed::InterruptIn::fall(T*, void (T::*)())':\r\n\r\nC:\\Users\\popco\\AppData\\Local\\Arduino15\\packages\\RedBearLab\\hardware\\nRF51822\\1.0.5/cores/RBL_nRF51822/mbed/api/InterruptIn.h:101:15: error: request for member 'attach' in '((mbed::InterruptIn*)this)->mbed::InterruptIn::_fall', which is of non-class type 'mbed::FunctionPointer {aka int}'\r\n\r\n         _fall.attach(tptr, mptr);\r\n\r\n               ^\r\n\r\nexit status 1\r\nError compiling for board RBL nRF51822(V1.5 32KB).\r\n\r\nThis report would have more information with\r\n\"Show verbose output during compilation\"\r\noption enabled in File -> Preferences.\r\n"}}