FTBFS with GCC 4.4: missing #include
Bug #492163 reported by
Alfonso Cepeda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gloox (Debian) |
Fix Released
|
Unknown
|
|||
gloox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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 <email address hidden> in debian:
Related branches
Changed in gloox (Debian): | |
status: | Unknown → New |
Changed in gloox (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Added a debdiff file with the patch
Note that it has already been submitted to debian in bug 505333