[Box Backup] gcc 4.3 boxbackup-0.11rc2 compilation errors

Néstor Arocha Rodríguez boxbackup@boxbackup.org
Wed, 25 Mar 2009 15:42:33 +0100


Hi Chris,

I want to disable memory leak detection (MLD) because I'm using some boxbackup classes instances in adelinbackup gui. During development, some segmentation faults disappeared when MLD was deactivated. I believe that this behavior is related with QT4 and MLD interaction, but I'm not very sure about this.

Best regards,

Néstor Arocha

On Tue, 24 Mar 2009 16:24:27 +0100 (CET)
Chris Wilson <chris@qwirx.com> wrote:

> Hi Nestor,
> 
> On Tue, 24 Mar 2009, Néstor Arocha Rodríguez wrote:
> 
> > I wasn't able to compile boxbackup 0.11rc2 in my system (gentoo, amd64,=
 
> > gcc 4.3.3). make command returns the following message:
> >
> > [CXX]     Logging.cpp
> > Logging.cpp: In member function 'virtual bool Console::Log(Log::Level, =
const std::string&, int, std::string&)':
> > Logging.cpp:290: error: 'strerror' was not declared in this scope
> 
> Thanks, i think this was already fixed in trunk some time ago, will add a=
 
> note to that effect on the website.
> 
> > I have another question: Is there a way to tell to configure that I wan=
t 
> > to disable memory leak detection? Currently I'm modifying BoxPlatform.h=
 
> > by hand after calling ./configure, but I'm feeling I'm doing it wrong.
> 
> There's no way to configure for a debug build without memory leak checkin=
g 
> as I don't understand why anyone would want to do so?
> 
> Memory leak checking has no effect on release builds in any case.
> 
> Cheers, Chris.
> -- 
> _ ___ __     _
>   / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
> \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |


-- 
Néstor Arocha Rodríguez <nesaro@gmail.com>
Website: http://www.nesaro.com