summaryrefslogtreecommitdiff
path: root/emulators/vx68k/files/patch-libvx68k::areaset.cc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-23 04:30:47 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-12-23 04:30:47 +0000
commita9b0fa5bf5dba3c284f27435c955fe4ffe3ee361 (patch)
tree4116387668f99739e30b97a04f732f2249e12e39 /emulators/vx68k/files/patch-libvx68k::areaset.cc
parentUpdate databases/sqlite3 to 3.0.8 (diff)
Should now build with both older and recent GCCs.
Notes
Notes: svn path=/head/; revision=124884
Diffstat (limited to 'emulators/vx68k/files/patch-libvx68k::areaset.cc')
-rw-r--r--emulators/vx68k/files/patch-libvx68k::areaset.cc38
1 files changed, 38 insertions, 0 deletions
diff --git a/emulators/vx68k/files/patch-libvx68k::areaset.cc b/emulators/vx68k/files/patch-libvx68k::areaset.cc
new file mode 100644
index 000000000000..f09bb905b5a1
--- /dev/null
+++ b/emulators/vx68k/files/patch-libvx68k::areaset.cc
@@ -0,0 +1,38 @@
+--- libvx68k/areaset.cc.orig Sun Jul 1 21:12:40 2001
++++ libvx68k/areaset.cc Wed Dec 1 18:24:18 2004
+@@ -37,7 +37,7 @@
+ using namespace std;
+
+ uint16_type
+-area_set::get_16(uint32_type address, function_code fc) const
++area_set::get_16(uint32_type address, function_code fc) const throw()
+ {
+ #ifdef L
+ L("class area_set: get_16 fc=%d address=%#010x\n", fc, address);
+@@ -46,7 +46,7 @@
+ }
+
+ int
+-area_set::get_8(uint32_type address, function_code fc) const
++area_set::get_8(uint32_type address, function_code fc) const throw()
+ {
+ #ifdef L
+ L("class area_set: get_8 fc=%d address=%#010x\n", fc, address);
+@@ -55,7 +55,7 @@
+ }
+
+ void
+-area_set::put_8(uint32_type address, int value, function_code fc)
++area_set::put_8(uint32_type address, int value, function_code fc) throw()
+ {
+ address &= 0xffffffffu;
+ value &= 0xffu;
+@@ -84,7 +84,7 @@
+ }
+
+ void
+-area_set::put_16(uint32_type address, uint16_type value, function_code fc)
++area_set::put_16(uint32_type address, uint16_type value, function_code fc) throw()
+ {
+ this->put_8(address / 2 * 2 + 1, value, fc);
+ }