help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] A couple of gst 2.1.10 fixes


From: Jim White
Subject: [Help-smalltalk] A couple of gst 2.1.10 fixes
Date: Wed, 23 Feb 2005 10:54:08 -0600

Attached are a couple of small patches to 2.1.10.

sincosl.c.diff : 
Corrects a build stopping error in the declaration of sincosl_table in
lib-src/sincosl.c.  The problem there is the declaration of the
variable doesn't match its definition.

gst.h.diff : 
A little more hackish/messy patch. This one allows gstpub.h to be
included in c++ programs.
Apparently the compiler (at least gcc 3.3.3 and 4.0.0) won't accept
"typedef struct OOP *OOP" due to c++ considering "struct OOP" and
"OOP" as the same type. Anyways, this patch changes the name of struct
OOP to struct OOP_ when in c++ mode.
The same issue happens with struct mst_Object, the same fix is
applied. I'm sure there's a nicer way to deal with it, but it would
involve changing the name of either struct OOP or the OOP typedef.

Attachment: diffs.zip
Description: Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]