jsoftware / jsource

J engine source mirror
Other
657 stars 90 forks source link

sleef compilation errors #25

Closed tikkanz closed 3 years ago

tikkanz commented 3 years ago

When compiling on Ubuntu 18.04 and 20.04 I get a number of errors using the make2 version of the build instructions. The errors all report "always_inline function might not be inlinable" For example:

../../../../sleef/src/arch/helperavx2.h:84:19: error: always_inline function might not be inlinable [-Werror=attributes]
   84 | static INLINE int cpuSupportsFMA() {
      |                   ^~~~~~~~~~~~~~
../../../../sleef/src/arch/helperavx2.h:78:19: error: always_inline function might not be inlinable [-Werror=attributes]
   78 | static INLINE int cpuSupportsAVX2() {
tikkanz commented 3 years ago

addressed by 29decae554f8d79f8043a402258ad94a5a19ec9c