Re: V4.1.0 and doubles
- Posted by mattlewis (admin) Jan 06, 2012
- 1442 views
irv said...
The experimental version has difficulty passing double values to C routines. In interpreted mode, nothing seems to get there, and when compiled, I get the following:
init-.c:5987:25: error: ‘eudouble’ undeclared (first use in this function)
I think your translation process is using an old euphoria.h. Depending on whether you're using a 32 or 64 bit version of euphoria, eudouble is a typedef for "double" or "long double," respectively.
irv said...
This affects all the EuGTK demos which use doubles, including all the Cairo functions.
I thought that double passing was working. Are you using a 32 or 64-bit version?
Matt