Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Got rid of compiler warnings on Ubuntu/x86.

  • Loading branch information...
commit 917914756188bfd8e66a06c98b5a8eb797417958 1 parent fd451f5
@orangea orangea authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  core/compile.c
View
2  Makefile
@@ -11,7 +11,7 @@ DOCHTML = ${DOC:.textile=.html}
PREFIX = /usr/local
CC = gcc
-CFLAGS = -Wall -fno-strict-aliasing -Wno-return-type -fpic -rdynamic
+CFLAGS = -Wall -fno-strict-aliasing -Wno-return-type -D_GNU_SOURCE -fpic -rdynamic
DEBUG ?= 0
ECHO = /bin/echo
GREG = tools/greg
View
2  core/compile.c
@@ -551,7 +551,7 @@ void potion_source_asmb(Potion *P, vPN(Proto) f, struct PNLoop *loop, PN_SIZE co
PN_BLOCK(breg, t->a[2], t->a[1]);
}
}
-#undef LOAD_ARG()
+#undef LOAD_ARG
if (t->part == AST_MESSAGE) {
PN_ASM2(OP_CALL, reg, breg);
} else
Please sign in to comment.
Something went wrong with that request. Please try again.