[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #1 from Rai

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #2 from Manu --- Why don't we just amend the global C/C++ props and include the D lib paths the same as MS does for CRT paths? I don't think anyone will mind ;) The link comment thing is interesting. Why only in main? MSC definitely incl

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #3 from Rainer Schuetze --- (In reply to Manu from comment #2) > Why don't we just amend the global C/C++ props and include the D lib paths > the same as MS does for CRT paths? I don't think anyone will mind ;) That's probably fine for t

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #4 from Manu --- Okay, well I think you know much better than me at this point. I don't understand what you mean by "each C++ file produces one .obj file" but D is different? The D compiler just emits as many .obj files as compiler invoc

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #5 from Rainer Schuetze --- (In reply to Manu from comment #4) > I don't understand what you mean by "each C++ file produces one .obj file" > but D is different? The D compiler just emits as many .obj files as compiler > invocations... wh

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #6 from Manu --- Ohhh wow. Interesting hack! Does C++ do anything like that? What sort of functions are generated but never called? I kinda imagine that generating a function would imply you intend to call it... what other mechanisms gen

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #7 from Rainer Schuetze --- Fix is in preliminary build https://ci.appveyor.com/project/rainers/visuald/build/1.0.173/job/b8h4eibmvy1eac0y/artifacts --

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #8 from Rainer Schuetze --- (In reply to Manu from comment #6) > Ohhh wow. Interesting hack! > Does C++ do anything like that? There is "function level linkage" which puts each function in a COMDAT but that is done by dmd anyway. I suspe

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #10 from Manu --- I'm not sure what to test for... :) --

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #9 from Manu --- What fix for this issue did you add to that new build? --

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #11 from Rainer Schuetze --- You should now be able to add a D file to a project and it should compile and link without any additional settings. That includes adding it to a static library and the link being in a C++ only project. --

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-05-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 Manu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---