info-inventor-dev
[Top] [All Lists]

Re: Patches for OSTYPE=linux-gnu

To: info-inventor-dev@xxxxxxxxxxx
Subject: Re: Patches for OSTYPE=linux-gnu
From: Morten Eriksen <mortene@xxxxxx>
Date: 23 Aug 2000 15:43:02 +0200
Cc: Jan Prikryl <prikryl@xxxxxxxx>
In-reply-to: Jan Prikryl's message of "Wed, 23 Aug 2000 11:39:02 +0200"
References: <20000823113902.A2186@dustpuppy>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
User-agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.3
> (2) in a dirty way fixes the double vs. float problems (via
>     -D_POSIX_SOURCE -D_XOPEN_SOURCE)

Here's an equally dirty fix, which should take care of the problem in
a way that works from the application programmer's POV aswell.

(I believe the Correct Fix(tm) would be to rip out the block of
single-precision #define settings from SbBasic.h and hide it in an
internal-only headerfile. Putting this in a public headerfile was
_bad_ design.)

Regards,
Morten

Attachment: singleprec.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>