You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can anyone help with the following issue?: I have installed python-dev and i already have python3-dev, but im still struggling with 'make'
megahal.c:1420:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&(word.word[i]), sizeof(char), 1, file);
^
In file included from /usr/include/stdio.h:937:0,
from megahal.c:101:
In function ‘fread’,
inlined from ‘load_dictionary’ at megahal.c:1376:5,
inlined from ‘load_model’ at megahal.c:2007:5,
inlined from ‘load_personality.constprop’ at megahal.c:3283:8,
inlined from ‘change_personality.constprop’ at megahal.c:3332:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:293:2: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream);
^
cc1: some warnings being treated as errors
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Makefile:44: recipe for target 'pythonmodule' failed
make: *** [pythonmodule] Error 1
The text was updated successfully, but these errors were encountered:
can anyone help with the following issue?: I have installed python-dev and i already have python3-dev, but im still struggling with 'make'
megahal.c:1420:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&(word.word[i]), sizeof(char), 1, file);
^
In file included from /usr/include/stdio.h:937:0,
from megahal.c:101:
In function ‘fread’,
inlined from ‘load_dictionary’ at megahal.c:1376:5,
inlined from ‘load_model’ at megahal.c:2007:5,
inlined from ‘load_personality.constprop’ at megahal.c:3283:8,
inlined from ‘change_personality.constprop’ at megahal.c:3332:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:293:2: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream);
^
cc1: some warnings being treated as errors
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Makefile:44: recipe for target 'pythonmodule' failed
make: *** [pythonmodule] Error 1
The text was updated successfully, but these errors were encountered: