summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--context.h2
-rw-r--r--include/pso/TProtocol.h2
-rw-r--r--src/pso/TProtocol.cpp2
4 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fd839a4..c5cde09 100644
--- a/Makefile
+++ b/Makefile
@@ -45,10 +45,9 @@ include obj_files.mk
# This is a hack, and should be removed once we make separate repos for
# all the support libraries (such as the Dolphin SDK, MSL, and MetroTRK).
-$(BUILD_DIR)/src/pso/%.o: DIR_UNIQUE_CFLAGS := -inline none
+$(BUILD_DIR)/src/pso/%.o: DIR_UNIQUE_CFLAGS := -inline none -sym on
# File specific flags.
-$(BUILD_DIR)/src/pso/TObject.o: FILE_UNIQUE_CFLAGS := -sym on
ALL_DIRS := $(sort $(dir $(O_FILES)))
diff --git a/context.h b/context.h
index 12567f0..0444aee 100644
--- a/context.h
+++ b/context.h
@@ -1277,7 +1277,7 @@ public:
virtual void run_task();
virtual short send(u8 *data, size_t size);
- void some_stub() {};
+ void some_stub();
int handle_command(struct packet *pkt);
void parse_packet();
diff --git a/include/pso/TProtocol.h b/include/pso/TProtocol.h
index 628ee7f..c224c5d 100644
--- a/include/pso/TProtocol.h
+++ b/include/pso/TProtocol.h
@@ -150,7 +150,7 @@ public:
virtual void run_task();
virtual short send(u8 *data, size_t size);
- void some_stub() {};
+ void some_stub();
int handle_command(struct packet *pkt);
void parse_packet();
diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp
index a1462b9..58a7374 100644
--- a/src/pso/TProtocol.cpp
+++ b/src/pso/TProtocol.cpp
@@ -247,6 +247,8 @@ void TProtocol::run_task() {
}
}
+void TProtocol::some_stub() {}
+
TProtocol::~TProtocol() {
}