Skip to content

Commit

Permalink
[imcc] Fix parrot compilation with --optimize
Browse files Browse the repository at this point in the history
Parrot_warn undeclared
  • Loading branch information
Reini Urban committed Feb 26, 2014
1 parent e91dd1e commit f371e11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/parrot/main.c
Expand Up @@ -862,7 +862,7 @@ parseflags(Parrot_PMC interp, int argc, ARGIN(const char *argv[]),
args->have_pbc_file = 1;
break;
case OPT_GC_DEBUG:
#if DISABLE_GC_DEBUG
#if 0 && DISABLE_GC_DEBUG
Parrot_warn(interp, 0xFFFF,
"PARROT_GC_DEBUG is set but the binary was compiled "
"with DISABLE_GC_DEBUG.");
Expand Down
2 changes: 1 addition & 1 deletion frontend/parrot2/main.c
Expand Up @@ -695,7 +695,7 @@ parseflags(Parrot_PMC interp, int argc, ARGIN(const char *argv[]),
pargs[nargs++] = "-c";
break;
case OPT_GC_DEBUG:
#if DISABLE_GC_DEBUG
#if 0 && DISABLE_GC_DEBUG
Parrot_warn(interp, 0xFFFF,
"PARROT_GC_DEBUG is set but the binary was compiled "
"with DISABLE_GC_DEBUG.");
Expand Down

0 comments on commit f371e11

Please sign in to comment.