D-IDE icon indicating copy to clipboard operation
D-IDE copied to clipboard

Status bar error

Open godvin opened this issue 13 years ago • 6 comments

I wrote code and builded it. Building broke. Status bar showed message 'Build failed'. Next I changed code and rebuilded it successfully, but status bar didn't change message.

godvin avatar Nov 11 '12 15:11 godvin

I have the same problem, but d-ide doesn't build the executable. The log says it compiled it, no errors, but status bar says failed.

the code that gives the issue is at:

http://dpaste.dzfl.pl/5e565bda

When I remove the mixin, everything works fine. Using dmd directly produces the exe so this is an issue with d-ide.

jsmdnq avatar Jul 04 '13 21:07 jsmdnq

ah, sorry for not having answered for so long..gonna have a look on it tomorrow

aBothe avatar Jul 04 '13 22:07 aBothe

Checking the log output, it seems d-ide simply does not do the link step. The log output link step is just missing from the log when I uncomment the mixin but when I comment it out the step is there.

jsmdnq avatar Jul 04 '13 22:07 jsmdnq

I'm getting this weird an unidentifiable dmd output:

void myfunc(float a,  int  b,  string  c)  { this.a.myfunc(a,  b,  c); }
@property int myvalue( )  { return this.a.myvalue(); }

whereas my dmd command is (as usual)

dmd -c "C:\Users\alex\Desktop\dtest\statuscase.d" -of"C:\Users\alex\Desktop\dtest\statuscase.obj" -I"D:\D\dmd2\src\phobos" -I"D:\D\dmd2\src\druntime\import" -gc -debug

oh wait, now I see..it's not linking it :o Edit: Because it's gotten an error output..linking it despite that is just nonsense :)

And this output..comes due to your pragma(msg, implementInterface); - so just remove that, and everything will be fine

aBothe avatar Jul 06 '13 09:07 aBothe

lol... well, pragma(msg, ...) isn't an error ;/ not sure if dmd returns an exit code or not but obviously the compilation works so d-ide just needs to figure out what the difference between a real error and just a pragma msg is... probably pretty easy(exit code difference)

jsmdnq avatar Jul 06 '13 10:07 jsmdnq

Sure, that solved the problem..will do this later on

aBothe avatar Jul 06 '13 15:07 aBothe