Bug#454860: Patch to fix the FTBFS with GCC 4.3: missing #includes (final version)

Jens Seidel jensseidel at users.sf.net
Sat Mar 22 11:09:57 UTC 2008


Hi Anibal,

On Thu, Mar 20, 2008 at 03:32:24PM -0600, Anibal Avelar wrote:
>  I added one patch to fix the FTBFS with GCC 4.3: missing #includes
> Please you ignore my first patch. I have a little error with my gcc
> conf. This is the real patch to fix this bug with GCC 4.3

I'm not sure whether it is a good idea to include an old style string.h
header file for a C++ project which uses new C++ conform header files
such as cstring.

It happened for me once that mixing old (<X.h>) and new style (<cX>)
header files resulted in a crash. I did not try to analyse it because
the source was too large and maybe an other error was involved but the
problem resolved after using only new style headers.

So please use cstring instead of string.h and add missing std:: if
required.

Jens





More information about the Pkg-games-devel mailing list