This appears to be dead code than can be commented out. The following
change...

--- dragonegg-3.4/src/x86/ABIHack.inc.orig      2014-04-30 10:23:53.000000000 
-0400
+++ dragonegg-3.4/src/x86/ABIHack.inc   2014-04-30 11:01:02.000000000 -0400
@@ -1663,6 +1663,7 @@
   {&atom_cost, 16, 7, 16, 7, 16}
 };
 
+#if 0
 static const char *const cpu_names[TARGET_CPU_DEFAULT_max] =
 {
   "generic",
@@ -1689,6 +1690,7 @@
   "amdfam10"
 };
 ^L
+#endif
 
 /* Return the "natural" mode for TYPE.  In most cases, this is just TYPE_MODE.
    But in the case of vector types, it is some vector mode.

allows dragonegg 3.4 to be compiled on gcc 4.7.3, 4.8.2 and 4.8.3svn.
The resulting plugin is appears fully functional.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1277210

Title:
  dragonegg: FTBFS: ABIHack.inc:1666:36: error: 'TARGET_CPU_DEFAULT_max'
  was not declared in this scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/llvm/+bug/1277210/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to