mavak / trucov

True coverage tool for C / C++
1 stars 1 forks source link

compilation issues: deprecated methods in boost-filesystem #185

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation fails on Centos 7 which contains the following versions:

boost-filesystem-1.53.0-18.el7.x86_64
qt-devel-4.8.5-8.el7.x86_64
gcc-c++-4.8.2-16.2.el7_0.x86_64
cmake-2.8.11-4.el7.x86_64
make-3.82-21.el7.x86_64

trucov uses certain methods of boost-filesystem which were deprecated some time 
ago:
http://www.boost.org/doc/libs/1_44_0/libs/filesystem/v3/doc/deprecated.html

Also gui/mainwindow.cpp could not be compiled because of the following error:
/home/dries/trucov/gui/mainwindow.cpp:297:34: error: taking address of 
temporary [-fpermissive]
  cursor = &(editor3->textCursor());

The attached patch fixes the compilation issues.

Original issue reported on code.google.com by dries.verachtert@dries.eu on 3 Jan 2015 at 11:03

Attachments:

wrightleft commented 8 years ago

Thank you. That helped me get going. Too bad this is abandoned.