Bananattack / nel-d

nel is a compiler for a low-level assembly programming language for developing on the NES hardware.
https://github.com/Bananattack/nel-d
10 stars 2 forks source link

Compilation errors on amd64 #3

Open salviati opened 12 years ago

salviati commented 12 years ago

Here's what I get using dmd-2.059-1 under GNU/Linux (amd64):

$ dmd src/nel/.d src/nel/ast/.d src/nel/parse/*.d -Isrc -ofnel src/nel/nel.d(126): Error: function std.path.getName!().getName is deprecated src/nel/nel.d(132): Error: undefined identifier 'isdir', did you mean 'function isDir'? src/nel/nel.d(144): Error: undefined identifier 'isdir', did you mean 'function isDir'? src/nel/ast/embed_statement.d(59): Error: undefined identifier 'isdir', did you mean 'function isDir'? src/nel/parse/parser.d(166): Error: cannot implicitly convert expression (this.includeStack.length - 1LU) of type ulong to uint src/nel/parse/parser.d(372): Error: function std.path.dirname!(immutable(char)).dirname is deprecated src/nel/parse/parser.d(372): Error: variable std.path.sep is deprecated src/nel/parse/parser.d(426): Error: function std.path.dirname!(immutable(char)).dirname is deprecated src/nel/parse/parser.d(426): Error: variable std.path.sep is deprecated

Bananattack commented 12 years ago

Sounds like I need to update my compiler! They've changed a bunch of libraries, including the std.path library -- and also seem to have changed the int type of the array length property again (too bad they don't just use size_t or something). It still builds on D 2.054.