[hal patch] Fix building with g++ 4.3

Danny Kukawka danny.kukawka at web.de
Tue Mar 4 13:49:16 PST 2008

On Dienstag, 4. März 2008, Michael Biebl wrote:
> 2008/3/3, Martin Pitt <martin at piware.de>:
> > Hi,
> >
> >  attached is a trivial patch which fixes building hal with g++ 4.3.
> Current head already has a #include <string.h> and it compiled just
> fine with g++4.3.
> Was your patch for hal-0.5.10?
> But as the patch got applied already it's probably not worth further
> discussing.

You are right. I already added this some months ago:
commit b8123a11b9b03e9c8db10039242d57533816c3a0
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Tue Oct 30 19:12:32 2007 +0100

    fixed missing includes partly for gcc 4.3

    Fixed compiler warning caused by missing includes in 
    Fixed also missing include of string.h for gcc 4.3.

Which include is now the correct? For me it compiles also with string.h as 
already added.


More information about the hal mailing list