Python Forum
Error messages when installing Python 3.7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error messages when installing Python 3.7
#1
When installing Python 3.7 on Raspbian, during the make phase I get several messages related to string functions, similar to this one:

/home/pi/Python-3.7.0/Modules/readline.c: In function ‘call_readline’:
/home/pi/Python-3.7.0/Modules/readline.c:1303:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
strncpy(p, q, n);
^~~~~~~~~~~~~~~~
/home/pi/Python-3.7.0/Modules/readline.c:1279:9: note: length computed here
n = strlen(p);
^~~~~~~~~

What does this mean? Is this a known issue? Can I safely ignore this?

Pierre
Reply


Messages In This Thread
Error messages when installing Python 3.7 - by pgielen - Dec-01-2019, 01:57 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020