Possible Compile Bug

Post Reply
User avatar
Neon
Member
Posts: 126
Joined: Thu Aug 15, 2013 02:03
In-game: Neon

Possible Compile Bug

by Neon » Post

While compiling 0.4.13dev on Linux:

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.

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: Possible Compile Bug

by Linuxdirk » Post

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.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: Possible Compile Bug

by jp » Post

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.
Last edited by jp on Mon Oct 19, 2015 18:26, edited 1 time in total.

User avatar
Neon
Member
Posts: 126
Joined: Thu Aug 15, 2013 02:03
In-game: Neon

Re: Possible Compile Bug

by Neon » Post

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):

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)

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: Possible Compile Bug

by jp » Post

Sorry I meant "Arch" for "Arch Linux", for the spammy warning I've indicated.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests