libgnome HEAD compilation fails



here is the gcc output

        gnome-program.c: In function `gnome_program_parse_args':
        gnome-program.c:1451: warning: implicit declaration of function
        `setlocale'
        gnome-program.c:1451: error: `LC_ALL' undeclared (first use in
        this function)
        gnome-program.c:1451: error: (Each undeclared identifier is
        reported only once
        gnome-program.c:1451: error: for each function it appears in.)
        make[2]: *** [gnome-program.lo] Error 1
        make[2]: Leaving directory `/tmp/GNOME/libgnome/libgnome'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/tmp/GNOME/libgnome'
        make: *** [all-recursive-am] Error 2
        
the quick solution is add
        #include <locale.h> 
to libgnome/libgnome/gnome-program.c




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]