On 02/10/2022 13:00, Daniel Donnell wrote:
Visual D doesn't work - it just ate my app.obj file and can't find it
anymore no matter if I clean or re-order the executable paths in
settings.
Can you be more specific what you are doing and what is going wrong?
On 02/10/2022 23:28, rikki catterm
On 26/04/2021 20:22, Imperatorn wrote:
> On Monday, 26 April 2021 at 17:37:26 UTC, Rainer Schuetze wrote:
>>
>> On 26/04/2021 10:00, Raimondo Mancino wrote:
>>> [...]
>>
>> The problem is that the semantic engine used by Visual D is working
>> with the DMD frontend of 2.095, but "noreturn" is a
On 26/04/2021 10:00, Raimondo Mancino wrote:
> Hello, I'm new to the language; I just started learning it a few months
> ago. I'm doing okay with it, I find it very versatile and fast to learn.
> I come from Java and C/C++ and I think D solves tons of problems I had
> with these.
>
> I was tryin
On 27/02/2020 11:30, kdevel wrote:
> On Thursday, 27 February 2020 at 07:44:57 UTC, Seb wrote:
>> On Thursday, 27 February 2020 at 00:36:49 UTC, kdevel wrote:
>
> [...]
>
>>> Program received signal SIGILL, Illegal instruction.
>
> [...]
>
>>> Does this exception relate to [1] and shall I fi
On 27/02/2020 12:29, Greatsam4aure wrote:
> I have install Vs 2019 and install the C++ package together with
> Visual-D bundle with DMD and LDC. But by project refuse to run
>
> -- Build started: Project: DLangOne, Configuration: Debug Win32 --
> Building Win32\Debug\DLangOne.exe...
> L
On 13/02/2020 15:54, Akomire Samson wrote:
> I am having this error on running D project using Visual studio 2019 and
> Visual D
>
>
> Build Log
>
> Building Win32\Debug\LearningD.exe
>
> Command Line
>
> set PATH=C:\D\ldc2-1.19.0-windows-multilib\bin;C:\Program Files
> (x86)\Microsoft Visu
On 07/02/2020 16:52, Steven Schveighoffer wrote:
> But I still maintain, a hello world program should not need this to
> avoid spawning 6 threads to scan itself.
I agree, see https://issues.dlang.org/show_bug.cgi?id=20567 and
https://github.com/dlang/druntime/pull/2933
On 31/01/2020 09:45, bauss wrote:
> On Friday, 31 January 2020 at 07:20:17 UTC, cc wrote:
>> char[4096] buf;
>> writeln(GC.stats.usedSize);
>> foreach (i; 0 .. 10) {
>> sformat(buf, "%f", 1.234f);
>> writeln(GC.stats.usedSize);
>> }
>>
>> Output with DMD32 D Compi
On 07/12/2019 21:05, Rainer Schuetze wrote:
>
> On 07/12/2019 12:20, cc wrote:
>> Given the following program:
> [...]
>>
>> Using DMD32 D Compiler v2.089.0-dirty
>>
>
> Seems like a bug introduced in dmd 2.086, I've created a bugzilla issue:
> https://issues.dlang.org/show_bug.cgi?id=20438
>
On 07/12/2019 12:20, cc wrote:
> Given the following program:
[...]
> But when both FREE and COLLECT are enabled, things seem to spiral out of
> control:
> // FREE, COLLECT
> Stats(16, 1048560, 16)
> 848 4096
> 40960832 40964096
> 81920832 81924096
> 122880832 1
On 27/11/2019 06:55, cartland wrote:
> On Wednesday, 27 November 2019 at 05:43:33 UTC, Mike Parker wrote:
>> On Wednesday, 27 November 2019 at 05:15:10 UTC, cartland wrote:
>> *snip*
>>
>> dmd -m32mscoff -debug -g x.d
>>
>> And see what happens.
>
> No difference between "dmd -m32mscoff -debug
On 01/10/2019 18:24, a11e99z wrote:
> On Tuesday, 1 October 2019 at 16:12:18 UTC, a11e99z wrote:
>> does anybody some kind of benchmark to test conservative and precise GC?
>> precise GC is better or not? is STW improving?
Without false pointers the precise GC is usually a bit slower (by a few
On 08/09/2019 00:30, malpropism wrote:
> I just ported my Java application to D, got it to compile, but not to link.
>
> I'm using Windows 10 64 bit, DMD 2.088.0 , Visual D 0.50.1. This would
> be a C/C++ project in Visual Studio with only D code.
>
> With my first attempt, I'm missing 65 ext
On 05/03/2019 22:30, H. S. Teoh wrote:
> On Tue, Mar 05, 2019 at 09:50:34PM +0100, Rainer Schuetze via
> Digitalmars-d-learn wrote:
>> On 04/03/2019 12:12, KnightMare wrote:
> [...]
>>> 3) closures: do the closures have any internal types that helps to
>>> GC
On 04/03/2019 12:12, KnightMare wrote:
> For example, we have some rooted memory block as
> auto rooted = new long[1_000_000];
> 1) conservative-GC will scan it for false pointers every GC-cycle. is it
> true?
> 2) precise-GC will NOT scan it at all. is it true?
As Adam pointed out, this memory
On 14/12/2018 02:56, Steven Schveighoffer wrote:
> On 12/13/18 7:16 PM, Michelle Long wrote:
>> byte x = 0xF;
>> ulong y = x >> 60;
>
> Surely you meant x << 60? As x >> 60 is going to be 0, even with a ulong.
It doesn't work as intuitive as you'd expect:
void main()
{
int x = 256;
On 01/10/2018 15:51, Steven Schveighoffer wrote:
On 10/1/18 3:21 AM, Rainer Schuetze wrote:
A profiler reveals that most of the time is spent in "sweeping" the
memory, i.e. looking for allocations no longer referenced. The
existing implementation checks every page which causes a linear growt
On 28/09/2018 14:21, Per Nordlöw wrote:
On Monday, 24 September 2018 at 14:31:45 UTC, Steven Schveighoffer wrote:
It's not scanning the blocks. But it is scanning the stack.
Each time you are increasing the space it must search for a given
*target*. It also must *collect* any previous items
On 06/07/2018 05:48, SrMordred wrote:
On Saturday, 30 June 2018 at 10:48:49 UTC, Suliman wrote:
Correct me if I am wrong, but I have read news that dmd now can be
used without C++ Build Tools.
I trying to build simple project. And getting Error:
Warning: no Visual C++ installation detected
On 27/06/2018 12:37, Robert M. Münch wrote:
On 2018-06-27 06:22:19 +, Rainer Schuetze said:
- Windows-10, 64bit, running in a Parallels VM on OSX 10.13.5
- VS-2017 latest patch applied
If you try to debug 64-bit-builds, mago starts another monitoring
process. Maybe there are issues wi
On 26/06/2018 16:25, Robert M. Münch wrote:
On 2018-06-24 13:08:53 +, Rainer Schuetze said:
a new release of Visual D has just been uploaded. Major changes are
* improved Visual C++ project integration: better dependencies,
automatic libraries, name demangling
* new project wizard
*
On 08/05/2018 21:36, BoQsc wrote:
On Tuesday, 8 May 2018 at 19:19:26 UTC, Seb wrote:
On Tuesday, 8 May 2018 at 18:40:34 UTC, BoQsc wrote:
On Tuesday, 8 May 2018 at 18:38:10 UTC, BoQsc wrote:
On Tuesday, 8 May 2018 at 17:35:13 UTC, Jesse Phillips wrote:
[...]
Tested with these versions so
On 19.09.2017 13:47, Timothy Foster wrote:
I'm trying to compile my project as a Win64 application but this is
happening:
Building C:\Users\me\test\test.exe...
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optl
On 17.07.2017 22:36, Igor wrote:
Is there a known limitation in profiling these or am I doing something
wrong?
When I try to run my application from VisualD (x64 build) with -profile
switch I just get Access Violation reported on WinMain function (actual
declaration, it doesn't enter its bo
On 08.07.2017 07:55, Nicholas Wilson wrote:
On Saturday, 8 July 2017 at 05:36:49 UTC, rikki cattermole wrote:
On 08/07/2017 2:35 AM, Nicholas Wilson wrote:
On Friday, 7 July 2017 at 08:49:58 UTC, Nicholas Wilson wrote:
My library is generating a typeid from somewhere.
e.g.
typeid(const(Point
On 22.05.2017 03:54, Enjoys Math wrote:
[...]
C:\Users\Gabe\AppData\Roaming\dub\packages\pyd-0.9.9\pyd\\infrastructure\windows\python27_digitalmars.lib+
user32.lib+
kernel32.lib/NOMAP/CO/NOI/DELEXE
LINK : fatal error LNK1181: cannot open input file
'obj\debug\dummy\dummy\dummy\dummy\dummy\du
On 18.05.2017 09:53, Igor wrote:
On Thursday, 18 May 2017 at 07:10:54 UTC, Rainer Schuetze wrote:
You have to add an import path to the folder with dllproj inside to
the project configuration of the exeproject.
If you want to limit the imported code to the declarations, you can
enable "gener
On 17.05.2017 18:56, Igor wrote:
At the moment I have:
EXEProject:
app.d - it does loadlibrary of dllproj and uses data structures
defined in dllproj.d (it imports dllproj). On the file system this file
is under /platform/win32/ and is defined as module win32.app;
DLLProject
dllproj.d - e
On 13.03.2017 14:35, M-exe wrote:
On Friday, 10 March 2017 at 21:32:05 UTC, sarn wrote:
On Friday, 10 March 2017 at 19:24:29 UTC, bauss wrote:
Mark your variables with __gshared. I would say shred, but it has
some restrictions to it, where __gshared is the equivalent to global
variables in C.
On 30.12.2016 19:24, Jeremy DeHaan wrote:
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line. The way DMD spawns the
On 08.09.2016 20:15, Rainer Schuetze wrote:
On 08.09.2016 19:35, Tofu Ninja wrote:
On Thursday, 8 September 2016 at 07:45:56 UTC, Rainer Schuetze wrote:
Fixed it again. You can find a prebuilt binary of pipedmd.exe here:
https://ci.appveyor.com/project/rainers/visuald/build/1.0.75/job/n9t
On 08.09.2016 19:35, Tofu Ninja wrote:
On Thursday, 8 September 2016 at 07:45:56 UTC, Rainer Schuetze wrote:
Fixed it again. You can find a prebuilt binary of pipedmd.exe here:
https://ci.appveyor.com/project/rainers/visuald/build/1.0.75/job/n9tf67jxcir6kpmg/artifacts
Thanks for the respo
On 07.09.2016 22:10, Rainer Schuetze wrote:
On 07.09.2016 19:28, Rainer Schuetze wrote:
On 06.09.2016 06:38, Tofu Ninja wrote:
I get "core.exception.RangeError@pipedmd(286): Range violation" whenever
I try to build from visual D. Is there any workaround for this?
It was reported[1] almos
On 07.09.2016 19:28, Rainer Schuetze wrote:
On 06.09.2016 06:38, Tofu Ninja wrote:
I get "core.exception.RangeError@pipedmd(286): Range violation" whenever
I try to build from visual D. Is there any workaround for this?
It was reported[1] almost 9 months ago, does not seem like it's going t
On 06.09.2016 06:38, Tofu Ninja wrote:
I get "core.exception.RangeError@pipedmd(286): Range violation" whenever
I try to build from visual D. Is there any workaround for this?
It was reported[1] almost 9 months ago, does not seem like it's going to
be fixed anytime soon. Visual D is completely
On 26.05.2016 17:11, TheDGuy wrote:
Hi,
i use Visual D as a plugin for visual studio to create D applications.
But what bothers me a bit is that i have to tell visual D the exact link
to the .lib file for every lib i want to use in the project (!).
So these are the steps i have to make to get a
On 30.03.2016 01:41, Thalamus wrote:
Apologies if this has been discussed before, but I wasn't able to find
anything similar on the forums or web. I can't seem to figure out how to
debug a D DLL from a C# EXE. (My actual purpose here is to use D to
build native plugins for Unity 5, but Unity an
On 21.02.2016 18:11, jmh530 wrote:
The application was unable to start correctly (0xc7b). Click OK to
close the application.
This error code is often caused by a DLL being compiled for the wrong
architecture, so I guess that you have some 32-bit DLL in your original
folder that is found
On 20.02.2016 07:22, tcak wrote:
On Saturday, 20 February 2016 at 05:55:26 UTC, Jon D wrote:
On Saturday, 20 February 2016 at 05:34:01 UTC, tcak wrote:
On Saturday, 20 February 2016 at 05:33:00 UTC, tcak wrote:
Is there any way (I checked core.memory already) to collect report
about memory u
On 05.01.2016 01:39, Dan Olson wrote:
I haven't played with any of the new GC configuration options introduced
in 2.067, but now need to. An application on watchOS currently has
about 30 MB of RAM. Is there any more documentation than the web page
https://dlang.org/spec/garbage.html or should
On 02.01.2016 18:41, alkololl wrote:
On Saturday, 2 January 2016 at 16:42:46 UTC, Rainer Schuetze wrote:
On 02.01.2016 16:34, alkololl wrote:
On Saturday, 2 January 2016 at 01:44:46 UTC, Adam D. Ruppe wrote:
[...]
Thanks for your reply. I replaced my switch statement with the one
behind t
On 02.01.2016 16:34, alkololl wrote:
On Saturday, 2 January 2016 at 01:44:46 UTC, Adam D. Ruppe wrote:
On Saturday, 2 January 2016 at 00:32:20 UTC, alkololl wrote:
Why is that?
I'm not sure, but in the switch you posted, you didn't handle the
DLL_THREAD_ATTACH and DLL_THREAD_DETACH cases,
On 24.12.2015 14:57, Chris wrote:
On Thursday, 24 December 2015 at 09:30:24 UTC, Rainer Schuetze wrote:
In the locals window, mago displays all instances of variables, but
with the same value (which might be some uninitialized value of a
different declaration than expected). The Visual Studio
On 24.12.2015 03:14, Chris wrote:
Please see the linked screenshot: http://i.imgur.com/SpkXu5m.png
As you can see, the inside, outside and collision arrays don't seem to
work with the debugger. They show a bogus lenght and a bogus memory
address. Extracting the lenghts to separate variables ou
On 18.07.2015 15:07, kerdemdemir wrote:
Hi,
I am tring to build Cristi Cobzarenco's fork of Scid which has
LAPACK,BLAS dependency.
I add all modules of Scid to my project and I am tring to build it
within my project.
I add LibraryFiles: liblapack.a libblas.a libtmglib.a libgfortran.a
etc.. v
On 05.05.2015 02:03, Dzugaru wrote:
I have to compile it myself from sources or is it available somewhere?
Was playing with fibers using VisualD + DMD and lack of contract
checking (for example call() on fiber in state TERM) leads to bizarre
crashes :(
The latest (beta) version of Visual D co
On 19.12.2014 22:39, Dan Nestor wrote:
Hello everybody, this is my first post on this forum.
I have a question about unit testing a Windows application. I
have slightly modified Visual D's default Windows application
stub to the following:
[...]
try
{
Runtime.initialize()
On 13.10.2014 10:12, Szymon Gatner wrote:
On Saturday, 11 October 2014 at 13:35:55 UTC, Rainer Schuetze
wrote:
Yes, DMD git HEAD is required.
Getting this when trying to build all with Digger:
std\uri.d(872): Deprecation: alias object.clear is deprecated -
Please use destroy instead.
std\u
On 11.10.2014 12:12, Szymon Gatner wrote:
On Saturday, 11 October 2014 at 09:21:18 UTC, Rainer Schuetze wrote:
On 10.10.2014 20:44, Szymon Gatner wrote:
Hi, thanks for all the information.
I got Digger (pretty nice tool btw) and it pulled all neccessary repos
from GitHub. As my understandi
On 10.10.2014 20:44, Szymon Gatner wrote:
Hi, thanks for all the information.
I got Digger (pretty nice tool btw) and it pulled all neccessary repos
from GitHub. As my understanding is that I should not be doing "Build"
with Diggger I just opened Windows console, entered druntime dir and typed
On 10.10.2014 10:37, Szymon Gatner wrote:
I would like to try recently merged COFF support on Win32 for a hybrid
D/C++ application.
Until now I tried that (hybridizing) only with DMD from the official
installer and in x64 mode.
My question is: how to try the same in 32 bits?
You need a rece
On 02.08.2014 04:43, quakkels wrote:
Hello D'ers,
I've been really impressed with Visual D and I've decided to undertake
my first D project using Visual D in Visual Studio 2012. However, I've
had trouble trying to figure out how to link a static library.
I've outlined my situation in this Sta
On 12.07.2014 19:05, Rainer Schuetze wrote:
Thanks for the reduction. GC.realloc seems broken for reallocations to
sizes larger than the current GC pool.
Please file a bug report.
Actually done that myself: https://issues.dlang.org/show_bug.cgi?id=13111
On 12.07.2014 16:24, anonymous wrote:
No explanation or solution, but a reduction:
import core.memory;
void main()
{
alias T = ubyte;
enum size1 = 2_049; /* > 2_048 = 2^^11 */
enum size2 = 1_048_577; /* > 1_048_576 = 2^^20 */
T* _data;
_data = cast(T*)GC.calloc(
On 07.07.2014 12:46, ParticlePeter wrote:
On Sunday, 6 July 2014 at 19:27:38 UTC, Rainer Schuetze wrote:
These object files are in the library ;-) That means manual selection,
though, as incremental builds to multiple object files don't work with
dmd, and single file compilation is painfully
On 06.07.2014 19:51, ParticlePeter wrote:
On Sunday, 6 July 2014 at 08:09:07 UTC, Rainer Schuetze wrote:
On 05.07.2014 16:05, ParticlePeter wrote:
...
It is possible to remove the template methods from my classes, create
free functions instead and use them in a UFCS way.
Unfortunately I ha
On 05.07.2014 16:05, ParticlePeter wrote:
Hello Community,
I thought there's a separate forum for VisualD. It did exist when
VisualD was on DSource, so why not add it here as well? Or am I to blind
to see?
The forum digitalmars.D.ide is probably the best fit.
Anyway, this thread is an add
On 02.07.2014 08:17, Ali Çehreli wrote:
There is an example in GC.addRoot() documentation where the programmer
is trying to mark a memory block as NO_MOVE:
http://dlang.org/phobos/core_memory.html#.GC.addRoot
auto context = new Object;
GC.addRoot(cast(void*)context);
GC.setA
On 12.05.2014 08:36, FrankLike wrote:
There are some quotes missing when building the Debug configuration. I
have committed a fix and also added the missing file reported in your
other message (IIRC it is not needed by every VS SDK).
Sorry,Rainer Schuetze,
Here is some error when compile the
On 12.05.2014 08:38, FrankLike wrote:
On Monday, 12 May 2014 at 06:36:10 UTC, FrankLike wrote:
There are some quotes missing when building the Debug configuration.
I have committed a fix and also added the missing file reported in
your other message (IIRC it is not needed by every VS SDK).
On 10.05.2014 10:42, FrankLike wrote:
I've been using VisualD for a long time without problems. If it makes
you nervous, you can get the source from Github and compile it yourself.
Hello,Meta
When I compile the Visual D projects:
at first,I compile the 'build' project,then get some error:
61 matches
Mail list logo