-ansi -pedantic choke on the call to asm() in src/ops/core.ops. This is
because asm() is gcc-builtin. However, if you use __asm_() instead, everything
works just fine. The following patch gets Parrot to compile just file,
although rather loudly with -ansi -pedantic.
Steve Peters
st...@fisharerojo.org
Index: src/ops/core.ops
===================================================================
--- src/ops/core.ops (revision 18166)
+++ src/ops/core.ops (working copy)
@@ -107,7 +107,7 @@
inline op cpu_ret() {
#ifdef __GNUC__
# ifdef I386
- asm("ret");
+ __asm__("ret");
# endif
#endif
goto NEXT();
> -ansi -pedantic choke on the call to asm() in src/ops/core.ops. This is
> because asm() is gcc-builtin. However, if you use __asm_() instead,
> everything works just fine. The following patch gets Parrot to compile
> just file, although rather loudly with -ansi -pedantic.
Thanks, applied as r18176.
-- c