#42 Can't compile, 64bit Ubuntu12.04: taking address of temporar

open
nobody
None
5
2012-09-14
2012-09-14
aapoaapo
No

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]

Discussion