aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makefile3
-rw-r--r--src/shared/mips_test_framework.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 9a02e82..93075cb 100644
--- a/makefile
+++ b/makefile
@@ -5,6 +5,9 @@ LOGIN ?= eie2ugs
CPPFLAGS += -W -Wall -g
CPPFLAGS += -I include
+CFLAGS += -std=c99
+CXXFLAGS += -std=c++11
+
# Force the inclusion of C++ standard libraries
LDLIBS += -lstdc++
diff --git a/src/shared/mips_test_framework.cpp b/src/shared/mips_test_framework.cpp
index b575fa1..2646bc6 100644
--- a/src/shared/mips_test_framework.cpp
+++ b/src/shared/mips_test_framework.cpp
@@ -33,7 +33,7 @@ struct instr_info_t
static const instr_info_t sg_instructionsArray[]=
{
- {"<internal>", "Tests of things other than intructions."},
+ {"<INTERNAL>", "Tests of things other than intructions."},
{"ADD","Add (with overflow)"},
{"ADDI","Add immediate (with overflow)"},
{"ADDIU","Add immediate unsigned (no overflow)"},