Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#105 compile error: setlocale undefined

open
nobody
Cinelerra (81)
5
2004-08-25
2004-08-25
Anonymous
No

main.C

setlocale and other stuff undefined.

main.C: In function `int main(int, char**)':
main.C:53: error: `LC_MESSAGES' undeclared (first use
this function)
main.C:53: error: (Each undeclared identifier is
reported only once for each
function it appears in.)
main.C:53: error: `setlocale' undeclared (first use
this function)
main.C:54: error: `LC_CTYPE' undeclared (first use this
function)
make[2]: *** [x86_64/main.o] Error 1

FIX:
#include <locale.h>

HELP:
man setlocale

thanks :)

Discussion