-
Notifications
You must be signed in to change notification settings - Fork 54
fix to build with Intel compiler #61
Copy link
Copy link
Open
Description
Currently, graphite2 does not build with the Intel compiler due to the REGPARM definition. The following patch will get it to build.
index b23819f..0f75ae8 100644
--- a/src/inc/Machine.h
+++ b/src/inc/Machine.h
@@ -46,7 +46,7 @@ of the License or (at your option) any later version.
#endif
#else
#define HOT __attribute__((hot))
-#if defined(__x86_64)
+#if defined(__x86_64) && !defined(__INTEL_COMPILER)
#define REGPARM(n) __attribute__((hot, regparm(n)))
#else
#define REGPARM(n)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels