On 01/29/2017 01:02 AM, dan hitt wrote:

I am running a Debian 8.7.1 system, which i just put on my box, and then i installed the gdc package.

I can compile 3.3.0 without error (just doing 'make').

However, for 3.5.1 the compile fails on src/gtkc/Loader.d, with the error message

src/gtkc/Loader.d:389: error: no property 'fromStringz' for type 'char*'

Sure enough fromStringz is present in the 3.5.1 version, but not in the 3.3.0 version of that file.

Don't know if this is language evolution, or something about gdc, or debian, or something else, but would appreciate any advice. And 3.3.0 is awesome, so i could stick with it, but naturally i'd prefer the latest version if i can compile it with gdc.

TIA for any info or advice!

dan

fromStringz was added to std.string about 3 years ago, so i would
suggest to use a more recent version of gdc.

If that is not possible, you could comment out line 389 in Loader.d.