Page 1 of 1

Possible Compile Bug

PostPosted: Mon Oct 19, 2015 05:37
by Neon
While compiling 0.4.13dev on Linux:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/home/matt/temp/minetest-master/src/util/serialize.cpp:232:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (is.gcount() != s_size)


The program works after compilation, but this might cause a bug somewhere.

Re: Possible Compile Bug

PostPosted: Mon Oct 19, 2015 06:57
by Linuxdirk
I’ve seen hundreds and hundreds of deprecation warnings while last compiling the latest Git sources. I guess this is just another warning no-one cares about and can easily be ignored.

Re: Possible Compile Bug

PostPosted: Mon Oct 19, 2015 14:51
by jp
Linuxdirk wrote:I’ve seen hundreds and hundreds of deprecation warnings while last compiling the latest Git sources. I guess this is just another warning no-one cares about and can easily be ignored.

I guess you're referring to "irr::scene::IBoneSceneNode::getBoneName()..."

It's Archlinux-specific, Irrlicht-side and not that new. But you can ignore it safely since it's harmless.

Re: Possible Compile Bug

PostPosted: Mon Oct 19, 2015 17:19
by Neon
Well, yes, it can be easily ignored (I've effectively ignored it). But as a programmer myself, I know how sometimes things can seem innocuous and how every warning can help.

BTW, for the arch-specific-ness of the compiler (Yes, it's Fedora. See my signature):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
cpp -v

Target: i686-redhat-linux
Thread model: posix
gcc version 4.8.3 20140911 (Red Hat 4.8.3-7) (GCC)

Re: Possible Compile Bug

PostPosted: Mon Oct 19, 2015 18:25
by jp
Sorry I meant "Arch" for "Arch Linux", for the spammy warning I've indicated.