Opened 16 years ago

Last modified 16 years ago

#3419 closed Bug report

missing include statement in Filezilla 3.0.7.1

Reported by: buzzthebuzzsaw Owned by:
Priority: normal Component: Other
Keywords: Cc: buzzthebuzzsaw, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

When trying to compile Filezilla 3.0.7.1 I ran into the following during the make:

locale_initializer.cpp: In static member function `static bool

CInitializer::SetLocaleReal(const std::string&)':

locale_initializer.cpp:84: `LC_ALL' undeclared (first use this function)
locale_initializer.cpp:84: (Each undeclared identifier is reported only once

for each function it appears in.)

locale_initializer.cpp:84: `setlocale' undeclared (first use this function)
make[1]: * [filezilla-locale_initializer.o] Error 1

It appears that an include is missing from the following file:
filezilla-3.0.7.1/src/interface/locale_initializer.cpp

Once I added the following line to the start of the file Filezilla compiled easily:

#include <locale.h>

Can this be added in for future releases?

Change History (1)

comment:1 by Tim Kosse, 16 years ago

Thanks for reporting. This issue has been fixed in the SVN
repository and will be available with the next version.

Note: See TracTickets for help on using tickets.