After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571837 - snprintf used without declaration
snprintf used without declaration
Status: RESOLVED FIXED
Product: gnomemm
Classification: Deprecated
Component: geglmm
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Hubert Figuiere (:hub)
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2009-02-15 15:12 UTC by Dodji Seketeli
Modified: 2009-02-15 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes the problem (493 bytes, patch)
2009-02-15 15:13 UTC, Dodji Seketeli
committed Details | Review

Description Dodji Seketeli 2009-02-15 15:12:16 UTC
There is a missing #include <cstdio> in the hello-world.cc that makes snprintf be used without declaration. This is an error with gcc 4.4.
Comment 1 Dodji Seketeli 2009-02-15 15:13:05 UTC
Created attachment 128776 [details] [review]
Fixes the problem
Comment 2 Hubert Figuiere (:hub) 2009-02-15 16:03:54 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.