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

Anibal Avelar aavelar at cofradia.org
Sat Mar 22 20:48:11 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Jens.


>  It happened for me once that mixing old () and new style ()
>  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.

Yes, you have reason. This was my first patch about GCC 4.3 (first of
eight so far). After that I found this good mini guide [1].  All the
others patches has new style headers.

Please replace s/string.h/cstring/ ;)

Sorry.

Regards.


[1] http://www.cyrius.com/journal/gcc/gcc-4.3-include.html


- --
Anibal Avelar (FixXxeR) http://fixxxer.cc
GPG: 83B64656 - C143 4AD8 B017 53FA B742 D6AA CEEA F9F3 83B6 4656

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFH5RwJzur584O2RlYRAuY/AJ9peEm7spD1edyxXKMADz8VCF5mSQCeMJ8w
Tizk+NJr0Llwt6NwtUHcwE4=
=ZIMg
-----END PGP SIGNATURE-----





More information about the Pkg-games-devel mailing list