Issue information

Issue ID
#6621
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 5, 2012 3:47
Last Post
Hercules Elf Bot
Sep 6, 2012 6:49
Confirmation
N/A

Hercules Elf Bot - Sep 5, 2012 3:47

Originally posted by [b]Kratos[/b]
Hello, I'm getting these warnings on Linux Debian, I already built on Windows and I had no problems.

[CODE]ers.c:54: warning: useless storage class specifier in empty declaration
ers.c: In function âers_obj_alloc_entryâ:
ers.c:172: warning: cast from pointer to integer of different size
ers.c: In function âers_obj_free_entryâ:
ers.c:203: warning: cast from pointer to integer of different size[/CODE]

Also I'm getting this with lot of NPC's that crash map server:

[CODE]
Segmentation faultNPC file: npc/airports/airships.txt[/CODE]

Also tested on Windows and it worked fine, but with Debian it says seg fault.

Hercules Elf Bot - Sep 5, 2012 11:18

Originally posted by [b]GreenBox[/b]
Probably fixed in [rev=16747] as I couldn't reproduce the segmentation fault here.

Hercules Elf Bot - Sep 5, 2012 15:29

Originally posted by [b]Brian[/b]
What version of Debian and gcc are you using?

Here's the [url="http://build.rathena.org/buildslaves/build6-Debian"]build6-Debian[/url] buildslave:
[code]Debian GNU/Linux 6.0.5 (squeeze)
gcc (Debian 4.4.5-8) 4.4.5
cmake version 2.8.2[/code]

This post has been edited by Brian on Sep 5, 2012 17:18

Hercules Elf Bot - Sep 6, 2012 3:30

Originally posted by [b]Kratos[/b]
@GreenBox yeah it got fixed, thanks.

@Brian
[CODE]
Debian GNU/Linux 6.0.5 (squeeze)
gcc (Debian 4.4.5-8) 4.4.5
cmake version 2.8.2
[/CODE]

Hercules Elf Bot - Sep 6, 2012 6:49

Originally posted by [b]Brian[/b]
oh I see, thanks.
oops .. BuildBot [b]did[/b] get the warning too, I just didn't notice xD

http://build.rathena.org/builders/Debian/builds/41