Issue information

Issue ID
#5341
Status
Unable to Fix
Severity
None
Started
Hercules Elf Bot
Feb 17, 2012 16:05
Last Post
Hercules Elf Bot
Apr 19, 2012 18:30
Confirmation
N/A

Hercules Elf Bot - Feb 17, 2012 16:05

Originally posted by [b]Ind[/b]
I'm not sure this is working as intended, perhaps missing identifying the cygwin macro? When compiling froms scratch I always get "No way to modify calling thread's locale" warning from both functions (2x warnings).

Hercules Elf Bot - Feb 17, 2012 17:28

Originally posted by [b]Gepard[/b]
It must be smth missing in configure script. I'll check it.

Hercules Elf Bot - Feb 17, 2012 18:38

Originally posted by [b]Gepard[/b]
In my Cygwin installation, rA configure script detects that there are no locale-related functions available. It is not a bug. I couldn't find a required package for Cygwin, but anyway there is nothing we can do about it.

Hercules Elf Bot - Feb 18, 2012 18:17

Originally posted by [b]Lighta[/b]
Same thing with cmake compile so I don't think it really related to cygwin. I'll repost when more info.
[ 24%] Building C object src/common/CMakeFiles/common_base.dir/__/__/3rdparty/libconfig/libconfig.c.o
/home/lighta/Myscript/RO/Servs/rathena/3rdparty/libconfig/libconfig.c: In function ‘__config_locale_override’:
/home/lighta/Myscript/RO/Servs/rathena/3rdparty/libconfig/libconfig.c:99:2: warning: #warning "No way to modify calling thread's locale!" [-Wcpp]
/home/lighta/Myscript/RO/Servs/rathena/3rdparty/libconfig/libconfig.c: In function ‘__config_locale_restore’:
/home/lighta/Myscript/RO/Servs/rathena/3rdparty/libconfig/libconfig.c:120:2: warning: #warning "No way to modify calling thread's locale!" [-Wcpp]

Hercules Elf Bot - Feb 19, 2012 12:42

Originally posted by [b]Gepard[/b]
CMake scripts are not maintained at the moment.

The only script that properly configures rAthena now is ./configure. It has all necessary checks for locale-related functions. If they are not found in system, libconfig compiliation will print out warnings.