{"action":"created","issue":{"url":"https://api.github.com/repos/markondej/fm_transmitter/issues/17","labels_url":"https://api.github.com/repos/markondej/fm_transmitter/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/markondej/fm_transmitter/issues/17/comments","events_url":"https://api.github.com/repos/markondej/fm_transmitter/issues/17/events","html_url":"https://github.com/markondej/fm_transmitter/issues/17","id":118106719,"number":17,"title":"Pi 2 Compile Error","user":{"login":"Addicted5","id":12137097,"avatar_url":"https://avatars.githubusercontent.com/u/12137097?v=3","gravatar_id":"","url":"https://api.github.com/users/Addicted5","html_url":"https://github.com/Addicted5","followers_url":"https://api.github.com/users/Addicted5/followers","following_url":"https://api.github.com/users/Addicted5/following{/other_user}","gists_url":"https://api.github.com/users/Addicted5/gists{/gist_id}","starred_url":"https://api.github.com/users/Addicted5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Addicted5/subscriptions","organizations_url":"https://api.github.com/users/Addicted5/orgs","repos_url":"https://api.github.com/users/Addicted5/repos","events_url":"https://api.github.com/users/Addicted5/events{/privacy}","received_events_url":"https://api.github.com/users/Addicted5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T19:10:39Z","updated_at":"2015-12-07T14:35:55Z","closed_at":null,"body":"\r\npi@raspberry ~/Music/fm_transmitter $ make\r\ngcc -Wall -fexceptions -lpthread -lm -O3 -fpermissive -fno-strict-aliasing -c main.cpp\r\ngcc -Wall -fexceptions -lpthread -lm -O3 -fpermissive -fno-strict-aliasing -c wave_reader.cpp\r\ngcc -Wall -fexceptions -lpthread -lm -O3 -fpermissive -fno-strict-aliasing -c stdin_reader.cpp\r\nstdin_reader.cpp: In constructor ‘StdinReader::StdinReader()’:\r\nstdin_reader.cpp:57:91: warning: invalid conversion from ‘void (*)(void*)’ to ‘void* (*)(void*)’ [-fpermissive]\r\n     int returnCode = pthread_create(&thread, NULL, &StdinReader::readStdin, (void*)&params);\r\n                                                                                           ^\r\nIn file included from /usr/include/arm-linux-gnueabihf/c++/4.9/bits/gthr-default.h:35:0,\r\n                 from /usr/include/arm-linux-gnueabihf/c++/4.9/bits/gthr.h:148,\r\n                 from /usr/include/c++/4.9/ext/atomicity.h:35,\r\n                 from /usr/include/c++/4.9/bits/basic_string.h:39,\r\n                 from /usr/include/c++/4.9/string:52,\r\n                 from error_reporter.h:37,\r\n                 from stdin_reader.h:40,\r\n                 from stdin_reader.cpp:34:\r\n/usr/include/pthread.h:244:12: note: initializing argument 3 of ‘int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)’\r\n extern int pthread_create (pthread_t *__restrict __newthread,\r\n            ^\r\ngcc -Wall -fexceptions -lpthread -lm -O3 -fpermissive -fno-strict-aliasing -c error_reporter.cpp\r\ngcc -Wall -fexceptions -lpthread -lm -O3 -fpermissive -fno-strict-aliasing -c transmitter.cpp\r\ntransmitter.cpp: In member function ‘void Transmitter::play()’:\r\ntransmitter.cpp:134:90: warning: invalid conversion from ‘void (*)(void*)’ to ‘void* (*)(void*)’ [-fpermissive]\r\n     int returnCode = pthread_create(&thread, NULL, &Transmitter::transmit, (void*)&params);\r\n                                                                                          ^\r\nIn file included from /usr/include/arm-linux-gnueabihf/c++/4.9/bits/gthr-default.h:35:0,\r\n                 from /usr/include/arm-linux-gnueabihf/c++/4.9/bits/gthr.h:148,\r\n                 from /usr/include/c++/4.9/ext/atomicity.h:35,\r\n                 from /usr/include/c++/4.9/bits/basic_string.h:39,\r\n                 from /usr/include/c++/4.9/string:52,\r\n                 from wave_reader.h:37,\r\n                 from transmitter.h:37,\r\n                 from transmitter.cpp:34:\r\n/usr/include/pthread.h:244:12: note: initializing argument 3 of ‘int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)’\r\n extern int pthread_create (pthread_t *__restrict __newthread,\r\n            ^\r\ntransmitter.cpp: In destructor ‘virtual Transmitter::~Transmitter()’:\r\ntransmitter.cpp:222:35: warning: invalid conversion from ‘volatile void*’ to ‘void*’ [-fpermissive]\r\n     munmap(peripherals, 0x002FFFFF);\r\n                                   ^\r\nIn file included from transmitter.cpp:40:0:\r\n/usr/include/arm-linux-gnueabihf/sys/mman.h:76:12: note: initializing argument 1 of ‘int munmap(void*, size_t)’\r\n extern int munmap (void *__addr, size_t __len) __THROW;\r\n            ^\r\ng++ -Wall -fexceptions -lpthread -lm -O3 -fpermissive -fno-strict-aliasing -o fm_transmitter main.o wave_reader.o stdin_reader.o error_reporter.o transmitter.o"},"comment":{"url":"https://api.github.com/repos/markondej/fm_transmitter/issues/comments/162542518","html_url":"https://github.com/markondej/fm_transmitter/issues/17#issuecomment-162542518","issue_url":"https://api.github.com/repos/markondej/fm_transmitter/issues/17","id":162542518,"user":{"login":"markondej","id":11423986,"avatar_url":"https://avatars.githubusercontent.com/u/11423986?v=3","gravatar_id":"","url":"https://api.github.com/users/markondej","html_url":"https://github.com/markondej","followers_url":"https://api.github.com/users/markondej/followers","following_url":"https://api.github.com/users/markondej/following{/other_user}","gists_url":"https://api.github.com/users/markondej/gists{/gist_id}","starred_url":"https://api.github.com/users/markondej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markondej/subscriptions","organizations_url":"https://api.github.com/users/markondej/orgs","repos_url":"https://api.github.com/users/markondej/repos","events_url":"https://api.github.com/users/markondej/events{/privacy}","received_events_url":"https://api.github.com/users/markondej/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T14:35:55Z","updated_at":"2015-12-07T14:35:55Z","body":"these are compilation warnings, nothing really important, I'll try to fix this in nearest release"}}