Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status bar error #8

Open
godvin opened this issue Nov 11, 2012 · 6 comments
Open

Status bar error #8

godvin opened this issue Nov 11, 2012 · 6 comments

Comments

@godvin
Copy link

godvin commented Nov 11, 2012

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.

@jsmdnq
Copy link

jsmdnq commented Jul 4, 2013

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.

@aBothe
Copy link
Owner

aBothe commented Jul 4, 2013

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

@jsmdnq
Copy link

jsmdnq commented Jul 4, 2013

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.

@aBothe
Copy link
Owner

aBothe commented Jul 6, 2013

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

@jsmdnq
Copy link

jsmdnq commented Jul 6, 2013

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)

@aBothe
Copy link
Owner

aBothe commented Jul 6, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants