D.gnu - gdc 1f typedef problem
- Lws (7/7) Apr 23 2004 I'm trying to convert a .H to a d import and so i ran it through the
- Ilya Minkov (6/21) Apr 23 2004 D cannot understand C's primitive type modifiers - this information is
- Lws (2/8) Apr 23 2004 There's a utility? Where can i obtain it?
- Ilya Minkov (3/4) Apr 23 2004 No, there's not. :/ Someone would have to write it.
I'm trying to convert a .H to a d import and so i ran it through the gcc preprocessor etc. Now it's all fine, but this file makes alot of typedefs such as: typedef unsigned long long UInt64; Well they give errors... if i replace it with equivilent D types though..... typedef ulong UInt64; This works fine.
Apr 23 2004
D cannot understand C's primitive type modifiers - this information is folded into basic types in D. It is not a bug, nor is there much sense doing anything about it in D. The utility to convert C headers should take care of such things. -eye Lws schrieb:I'm trying to convert a .H to a d import and so i ran it through the gcc preprocessor etc. Now it's all fine, but this file makes alot of typedefs such as: typedef unsigned long long UInt64; Well they give errors... if i replace it with equivilent D types though..... typedef ulong UInt64; This works fine.
Apr 23 2004
On 2004-04-23 12:42:55 -0700, Ilya Minkov <minkov cs.tum.edu> said:D cannot understand C's primitive type modifiers - this information is folded into basic types in D. It is not a bug, nor is there much sense doing anything about it in D. The utility to convert C headers should take care of such things. -eyeThere's a utility? Where can i obtain it?
Apr 23 2004
Lws schrieb:There's a utility? Where can i obtain it?No, there's not. :/ Someone would have to write it. -eye
Apr 23 2004