[Bug 492163] [NEW] FTBFS with GCC 4.4: missing #include

Alfonso Cepeda cepeda at gmail.com
Fri Dec 4 06:23:11 UTC 2009


Public bug reported:

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

Therefore to fix the following error

> md5.cpp: In member function 'const std::string gloox::MD5::hex()':
> md5.cpp:440: error: 'sprintf' was not declared in this scope
> make[4]: *** [md5.lo] Error 1

you have to add the #include <stdio.h> directive

Patch submitted by Martin Michlmayr <tbm at cyrius.com> in debian:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505333

** Affects: gloox (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gloox (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #505333
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505333

** Also affects: gloox (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505333
   Importance: Unknown
       Status: Unknown

-- 
FTBFS with GCC 4.4: missing #include
https://bugs.launchpad.net/bugs/492163
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list