Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a Parrot-warnings-clean refinition of dNOOP

  • Loading branch information...
commit 365279e073c993ea347cfff93624bfe540b88ee8 1 parent 1f52187
@sorear sorear authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/pmc/blizkost.h
View
4 src/pmc/blizkost.h
@@ -49,6 +49,10 @@ does the necessary cruft to import both in the same file.
#include <perl.h>
#include <XSUB.h>
+/* The Perl definition of this runs foul of -Wnested-externs */
+#undef dNOOP
+#define dNOOP int /*@unused@*/ Perl___notused PERL_UNUSED_DECL
+
#include "pmc_p5interpreter.h"
#include "pmc_p5invocation.h"
#include "pmc_p5namespace.h"
Please sign in to comment.
Something went wrong with that request. Please try again.