SergeyDjam / yagf

Automatically exported from code.google.com/p/yagf
0 stars 0 forks source link

Compilation error #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[  2%] Building CXX object CMakeFiles/yagf.dir/src/mainform.cpp.o
../src/mainform.cpp: In member function 'void MainForm::deskew(QImage*)':       

../src/mainform.cpp:1564:15: warning: variable 'r' set but not used 
[-Wunused-but-set-variable]
../src/mainform.cpp: In member function 'void MainForm::deskewByBlock()':
../src/mainform.cpp:1580:50: error: taking address of temporary [-fpermissive]
make[2]: *** [CMakeFiles/yagf.dir/src/mainform.cpp.o] Error 1
make[1]: *** [CMakeFiles/yagf.dir/all] Error 2
make: *** [all] Error 2

Program version: 0.9.0 (r232)
gcc version: 4.6.2 (Debian 4.6.2-16) 

Original issue reported on code.google.com by tehnic...@yandex.ru on 1 Mar 2012 at 9:53

GoogleCodeExporter commented 9 years ago

Original comment by andrei.b...@gmail.com on 2 Mar 2012 at 10:50