htop icon indicating copy to clipboard operation
htop copied to clipboard

Fix gcc10

Open SoapGentoo opened this issue 5 years ago • 1 comments

Hi @hishamhm GCC 10 switches from -fcommon to -fno-common by default (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678), and htop currently fails when building against -fno-common.

I've enabled -fno-common in Travis to emulate GCC 10's behaviour, to catch any future bugs like this.

SoapGentoo avatar Jan 23 '20 16:01 SoapGentoo

See line 1 of CRT.h and linux/LinuxProcess.h :

/* Do not edit this file. It was automatically generated. */

ginggs avatar Jul 02 '20 10:07 ginggs