-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
D standard library not detected if I select "Release" as the current build configuration #251
Comments
r.sagitario commented on 2019-05-31T17:14:20ZWhen trying to reproduce this, it doesn't seem to fail in general, but switching between LDC and DMD seems to freeze the semantic engine by some mixin handling. The issue goes away if I disable "mixin analysis". Is this the case for you, too? BTW: what project type do you use, visualdproj or vcxproj? |
x13989 commented on 2019-06-01T02:13:18Zvisualdproj |
x13989 commented on 2019-06-01T02:17:02ZI don’t know why the stdlib gets undetected when I switch the build config to LDC. I’ve tried to add ldc\bin to Path, but it doesn’t helps. |
x13989 commented on 2019-06-01T02:19:49ZDisabling mixin analysis seems to work. |
x13989 commented on 2019-06-01T04:51:17ZIs it possible to bring this problem a full fix? |
x13989 commented on 2019-06-01T06:23:44ZI have attempted and disabling mixin analysis won’t help fixing this issue. |
x13989 commented on 2019-06-01T06:28:05ZI found that Debug LDC works fine, but Release LDC is bugged as I described. |
x13989 commented on 2019-06-01T06:33:27ZSorry, I’ve described the condition wrongly. It should be: The problem only occurs in Release/Release LDC, and doesn’t occurs under Debug/Debug LDC. It isn’t related with LDC, I’m sorry for my wrong description before. |
x13989 commented on 2019-06-01T06:40:47ZCreated attachment 1749 |
x13989 commented on 2019-06-01T06:41:45ZCreated attachment 1750 |
x13989 commented on 2019-06-01T06:44:56ZCreated attachment 1751 |
x13989 commented on 2019-06-01T06:47:08ZCreated attachment 1752 |
x13989 commented on 2019-06-01T06:51:43ZCreated attachment 1753 |
x13989 commented on 2019-06-01T06:52:17ZAdded some images to describe the bug |
r.sagitario commented on 2020-03-15T08:20:13ZDoes this also happen with the dmd based engine? |
x13989 reported this on 2019-05-31T09:21:23Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=19927
CC List
Description
D Win32 project, VD 0.49.2, VS 16.1.1.
If I select the Debug or Release (either x86 or x64) build configuration, everything works properly. But if I switch the build configuration to Debug LDC/Release LDC, the auto-completion and go-to-definition function of the standard library won't work. It would say "No definition found for 'writeln'", and there are nothing but keywords in the completion list. These issues would no longer occur if I switch back to Debug/Release. I suspect that Visual D's not identifying LDC's standard library files lead to this problem. Please fix this!
!!!There are attachements in the bugzilla issue that have not been copied over!!!
The text was updated successfully, but these errors were encountered: