Warning while building 0.4.13

User avatar
zak1975
Member
 
Posts: 18
Joined: Sat Apr 25, 2015 17:59
GitHub: zak1975
IRC: zak1975
In-game: zak1975

Warning while building 0.4.13

by zak1975 » Sun Aug 23, 2015 18:29

Hi,
today I got the latest sources from github. As mentioned in Calinous One-Liner I started to build minetest with

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
cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1; make -j$(nproc);


This Warning came up:
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
[ 54%] Building C object src/CMakeFiles/minetest.dir/util/sha256.c.o                             
[ 54%] Building CXX object src/CMakeFiles/minetest.dir/util/srp.cpp.o                             
/home/carsten/minetest/minetest-0.4.13/src/util/srp.cpp: In function ‘int fill_buff()’:
/home/carsten/minetest/minetest-0.4.13/src/util/srp.cpp:535:49: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
   fread(g_rand_buff, sizeof(g_rand_buff), 1, fp);
                                                 ^
[ 55%] Building CXX object src/CMakeFiles/minetest.dir/util/string.cpp.o
[ 55%] Building CXX object src/CMakeFiles/minetest.dir/util/timetaker.cpp.o     


System is Kubuntu 14.04 on Intel i5.
Game starts up and seems to work normally.
Just wanted to report this issue as I don't really know what happened there.
 

Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 8 guests

cron