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 514946 - missing #include <locale.h>
missing #include <locale.h>
Status: RESOLVED DUPLICATE of bug 442197
Product: gnome-mount
Classification: Deprecated
Component: programs
unspecified
Other Linux
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
Depends on:
Blocks:
 
 
Reported: 2008-02-07 10:35 UTC by Martin Pitt
Modified: 2008-03-23 08:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Pitt 2008-02-07 10:35:36 UTC
When I build gnome-mount, it fails with:

gnome-mount.c:1521: warning: implicit declaration of function 'setlocale'
gnome-mount.c:1521: error: 'LC_ALL' undeclared (first use in this function)
gnome-mount.c:1521: error: (Each undeclared identifier is reported only once
gnome-mount.c:1521: error: for each function it appears in.)
gnome-mount.c:1521: warning: format '%s' expects type 'char *', but argument 2 has type 'int'

gnome-mount.c should explicitly #include <locale.h> to fix that.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2008-03-23 08:36:58 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 442197 ***