]> git.pld-linux.org Git - packages/openjade.git/commitdiff
- fix for stupid types size assumptions
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 19 Aug 2002 14:35:28 +0000 (14:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openjade-types.patch -> 1.1

openjade-types.patch [new file with mode: 0644]

diff --git a/openjade-types.patch b/openjade-types.patch
new file mode 100644 (file)
index 0000000..0380ac3
--- /dev/null
@@ -0,0 +1,11 @@
+--- openjade-20020409/style/FlowObj.cxx.orig   Mon Aug 19 15:03:34 2002
++++ openjade-20020409/style/FlowObj.cxx        Mon Aug 19 16:12:24 2002
+@@ -3578,7 +3578,7 @@
+ #define FLOW_OBJ(name, string, feature) \
+ { FlowObj *tem = new (*this) name; \
+   /* Temporary debugging check.*/ \
+-  ASSERT(sizeof(name) <= 32); \
++  ASSERT(sizeof(name) <= 8*sizeof(void*)); \
+   makePermanent(tem); \
+   Identifier *ident = lookup(makeStringC(string)); \
+   ident->setFlowObj(tem); \
This page took 0.032965 seconds and 4 git commands to generate.