Can't compile, 64bit Ubuntu12.04: taking address of temporar
Status: Alpha
Brought to you by:
deion
Linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
c++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
smartcam-1.4.0
./configure
make
CommHandler.cpp: In member function 'void CCommHandler::RegisterBtService(uint8_t)':
CommHandler.cpp:153:30: error: taking address of temporary [-fpermissive]
CommHandler.cpp:153:42: error: taking address of temporary [-fpermissive]
CommHandler.cpp: In member function 'int CCommHandler::StartBtServer()':
CommHandler.cpp:193:28: error: taking address of temporary [-fpermissive]
Fix for this error is here:
https://github.com/kripton/smartcam_linux/commit/7ef4168e068957a5cf63ea35494e8b5589402b99
direct patch: https://github.com/kripton/smartcam_linux/commit/7ef4168e068957a5cf63ea35494e8b5589402b99.diff