DigitalMars / med

Micro Emacs in D
Other
88 stars 16 forks source link

Error building with dub #3

Open Swoorup opened 8 years ago

Swoorup commented 8 years ago

Using dub registry url 'http://code.dlang.org/' Refreshing local packages (refresh existing: true)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/swoorup/.dub/packages/local-packages.json Try to load local package map at /home/swoorup/.dub/packages/local-packages.json Determined package version using GIT: dash 0.12.0-beta1+commit.27.gb7d589a Determined package version using GIT: med 1.0.0 Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/swoorup/.dub/packages/local-packages.json Try to load local package map at /home/swoorup/.dub/packages/local-packages.json Checking for missing dependencies. Refreshing local packages (refresh existing: false)... Looking for local package map at /var/lib/dub/packages/local-packages.json Looking for local package map at /home/swoorup/.dub/packages/local-packages.json Try to load local package map at /home/swoorup/.dub/packages/local-packages.json Checking for upgrades. Using cached upgrade results... Generating using build Generate target med (executable /home/swoorup/git/dlang_projects/med/bin med) Performing "debug" build using dmd for x86_64. Target '/home/swoorup/git/dlang_projects/med/.dub/build/application-debug-linux.posix-x86_64-dmd_2070-EC714E7D07A609E23735D82D8B1F2761/med' doesn't exist, need rebuild. med 1.0.0: building configuration "application"... dmd -c -of.dub/build/application-debug-linux.posix-x86_64-dmd_2070-EC714E7D07A609E23735D82D8B1F2761/med.o -debug -g -w -version=Have_med -Isrc/med src/med/basic.d src/med/buffer.d src/med/console.d src/med/disp.d src/med/display.d src/med/disprev.d src/med/ed.d src/med/file.d src/med/fileio.d src/med/line.d src/med/main.d src/med/more.d src/med/mouse.d src/med/random.d src/med/region.d src/med/search.d src/med/spawn.d src/med/tcap.d src/med/terminal.d src/med/termio.d src/med/window.d src/med/word.d src/med/xterm.d -vcolumns src/med/buffer.d(254,16): Warning: instead of C-style syntax, use D-style syntax 'dchar[6 + 1] b' src/med/buffer.d(255,16): Warning: instead of C-style syntax, use D-style syntax 'dchar[128] line' src/med/console.d(188,15): Warning: instead of C-style syntax, use D-style syntax 'CHAR_INFO[256] sbbuf' src/med/disp.d(34,11): Warning: instead of C-style syntax, use D-style syntax 'ubyte[3] reserved' src/med/display.d(948,9): Warning: instead of C-style syntax, use D-style syntax 'dstring[HISTORY_MAX] history' src/med/main.d(71,9): Warning: instead of C-style syntax, use D-style syntax 'dchar[256] kbdm' src/med/main.d(453,8): Warning: instead of C-style syntax, use D-style syntax 'CMDTAB[] cmdtab' src/med/tcap.d(54,6): Warning: instead of C-style syntax, use D-style syntax 'char[2048] tcapbuf' src/med/tcap.d(209,14): Warning: instead of C-style syntax, use D-style syntax 'char[16] backc' src/med/display.d(1167,13): Warning: switch case fallthrough - use 'goto default;' if intended src/med/main.d(515,5): Warning: statement is not reachable src/med/search.d(208,5): Warning: statement is not reachable src/med/search.d(211,5): Warning: statement is not reachable src/med/search.d(214,5): Warning: statement is not reachable src/med/search.d(328,7): Warning: switch case fallthrough - use 'goto case;' if intended FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2070-EC714E7D07A609E23735D82D8B1F2761/ med executable dmd failed with exit code 1.

joelcnz commented 7 years ago

I get on OSX:

Joels-MacBook-Pro:med joelcnz$ dub Performing "debug" build using dmd for x86_64. med 1.0.0+commit.15.gf80a365: building configuration "application"... src/med/buffer.d(254,15): Warning: instead of C-style syntax, use D-style syntax 'char[6 + 1] b' src/med/buffer.d(255,15): Warning: instead of C-style syntax, use D-style syntax 'char[128] line' src/med/console.d(190,15): Warning: instead of C-style syntax, use D-style syntax 'CHAR_INFO[256] sbbuf' src/med/disp.d(34,11): Warning: instead of C-style syntax, use D-style syntax 'ubyte[3] reserved' src/med/display.d(966,8): Warning: instead of C-style syntax, use D-style syntax 'string[HISTORY_MAX] history' src/med/main.d(71,9): Warning: instead of C-style syntax, use D-style syntax 'dchar[256] kbdm' src/med/main.d(457,8): Warning: instead of C-style syntax, use D-style syntax 'CMDTAB[] cmdtab' src/med/tcap.d(54,6): Warning: instead of C-style syntax, use D-style syntax 'char[2048] tcapbuf' src/med/tcap.d(209,14): Warning: instead of C-style syntax, use D-style syntax 'char[16] backc' src/med/main.d(360,20): Error: undefined identifier 'help' dmd failed with exit code 1. Joels-MacBook-Pro:med joelcnz$

[update] O, yeah. It's not ported to the Mac!

Swoorup commented 7 years ago

this is in linux though