Possible Compile Bug

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

Possible Compile Bug

by Neon » Mon Oct 19, 2015 05:37

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: 2054
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: Possible Compile Bug

by Linuxdirk » Mon Oct 19, 2015 06:57

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
Member
 
Posts: 732
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

Re: Possible Compile Bug

by jp » Mon Oct 19, 2015 14:51

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 » Mon Oct 19, 2015 17:19

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
Member
 
Posts: 732
Joined: Wed Dec 18, 2013 09:03
Location: France
GitHub: kilbith

Re: Possible Compile Bug

by jp » Mon Oct 19, 2015 18:25

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


Return to Problems



Who is online

Users browsing this forum: No registered users and 1 guest