On Wednesday, 20 January 2021 at 21:57:59 UTC, Paul Backus wrote:
On Wednesday, 20 January 2021 at 19:01:19 UTC, frame wrote:
Oh, look, it compiles with no errors. All that effort, and I
*still* couldn't reproduce the issue you described in your
original post. Guess I wasted my time for
On Thursday, 21 January 2021 at 03:35:05 UTC, Adam D. Ruppe wrote:
On Thursday, 21 January 2021 at 03:24:13 UTC, Tim wrote:
No, I don't. It should be all garbage collected right?
Yeah, but that's where the problem comes.
Note that by destructor, I mean *any* function in your code
called
On Thursday, 21 January 2021 at 03:24:13 UTC, Tim wrote:
No, I don't. It should be all garbage collected right?
Yeah, but that's where the problem comes.
Note that by destructor, I mean *any* function in your code
called `~this() {}`. If there are any and they call a memory
allocation
On Thursday, 21 January 2021 at 03:21:41 UTC, Adam D. Ruppe wrote:
On Wednesday, 20 January 2021 at 21:31:54 UTC, Tim wrote:
Unable to open 'recv.c': Unable to read file
'/build/glibc-ZN95T4/glibc-2.31/sysdeps/unix/sysv/linux/recv.c' (Error: Unable to resolve non-existing file
On Thursday, 21 January 2021 at 03:21:41 UTC, Adam D. Ruppe wrote:
On Wednesday, 20 January 2021 at 21:31:54 UTC, Tim wrote:
Unable to open 'recv.c': Unable to read file
'/build/glibc-ZN95T4/glibc-2.31/sysdeps/unix/sysv/linux/recv.c' (Error: Unable to resolve non-existing file
On Wednesday, 20 January 2021 at 21:31:54 UTC, Tim wrote:
Unable to open 'recv.c': Unable to read file
'/build/glibc-ZN95T4/glibc-2.31/sysdeps/unix/sysv/linux/recv.c'
(Error: Unable to resolve non-existing file
'/build/glibc-ZN95T4/glibc-2.31/sysdeps/unix/sysv/linux/recv.c').
[snip]
generate
On Thursday, 21 January 2021 at 01:07:22 UTC, Paul Backus wrote:
On Thursday, 21 January 2021 at 00:49:26 UTC, Tim wrote:
Oh, so it's just signal 4, not -4?
The signal is 4. The exit status is -4.
https://en.wikipedia.org/wiki/Signal_(IPC)#POSIX_signals
On Thursday, 21 January 2021 at 00:49:26 UTC, Tim wrote:
Oh, so it's just signal 4, not -4?
The signal is 4. The exit status is -4.
https://en.wikipedia.org/wiki/Signal_(IPC)#POSIX_signals
https://en.wikipedia.org/wiki/Exit_status#POSIX
On Thursday, 21 January 2021 at 00:47:36 UTC, Adam D. Ruppe wrote:
On Thursday, 21 January 2021 at 00:37:19 UTC, Tim wrote:
Hi all,
From time to time my program crashes with exit code -4. I
can't seem to find much on the code. Does anyone know what
this means and how to debug the issue?
On Thursday, 21 January 2021 at 00:37:19 UTC, Tim wrote:
Hi all,
From time to time my program crashes with exit code -4. I can't
seem to find much on the code. Does anyone know what this means
and how to debug the issue?
Unix signal #4 is illegal instruction (negative returns usually
mean
Hi all,
From time to time my program crashes with exit code -4. I can't
seem to find much on the code. Does anyone know what this means
and how to debug the issue?
On Wed, Jan 20, 2021 at 09:57:59PM +, Paul Backus via Digitalmars-d-learn
wrote:
> On Wednesday, 20 January 2021 at 19:01:19 UTC, frame wrote:
> > On Wednesday, 20 January 2021 at 13:11:09 UTC, Paul Backus
> > >
> > > Please post an example with enough code to actually produce the
> > >
On Wednesday, 20 January 2021 at 19:01:19 UTC, frame wrote:
On Wednesday, 20 January 2021 at 13:11:09 UTC, Paul Backus
Please post an example with enough code to actually produce
the error you're seeing.
I don't know when to stop posting code then :(
You should stop (and ideally start)
On Wednesday, 20 January 2021 at 19:01:19 UTC, frame wrote:
It also compiles if
value = new T
enum R = isCallable!S
throws:
Error: cannot infer type from template instance
isCallable!(data), possible circular dependency
So that seems to be the problem. There is a circular dependency
Hi all,
I'm having a really terrible bug that seemed to come from nowhere
and is really hard to narrow down. I have a threaded message
service that works via local TcpSocket. Every time I run it,
either an error saying:
Unable to open 'recv.c': Unable to read file
On Wednesday, 20 January 2021 at 19:05:29 UTC, Vinod K Chandran
wrote:
On Tuesday, 19 January 2021 at 16:52:18 UTC, Paul Backus wrote:
On Tuesday, 19 January 2021 at 16:22:35 UTC, Vinod K Chandran
wrote:
b ? (tbinfo.fsState |= TBSTATE_ENABLED) : (tbinfo.fsState
&= ~TBSTATE_ENABLED);
On Tuesday, 19 January 2021 at 16:52:18 UTC, Paul Backus wrote:
On Tuesday, 19 January 2021 at 16:22:35 UTC, Vinod K Chandran
wrote:
b ? (tbinfo.fsState |= TBSTATE_ENABLED) : (tbinfo.fsState
&= ~TBSTATE_ENABLED);
This means, "if b is true, set the TBSTATE_ENABLED flag to
true;
On Wednesday, 20 January 2021 at 13:11:09 UTC, Paul Backus wrote:
On Wednesday, 20 January 2021 at 04:43:12 UTC, frame wrote:
struct foo(T) {
T get() {
static if (is(T : bar)) {
if (value is null) {
value = fun!T;
Error: template instance `fun!T` template
On Wednesday, 20 January 2021 at 04:43:12 UTC, frame wrote:
struct foo(T) {
T get() {
static if (is(T : bar)) {
if (value is null) {
value = fun!T;
Error: template instance `fun!T` template `fun` is not defined
Please post an example with enough code to
On Tuesday, 19 January 2021 at 14:20:06 UTC, Imperatorn wrote:
On Tuesday, 19 January 2021 at 11:10:25 UTC, Marcone wrote:
On Tuesday, 19 January 2021 at 06:25:31 UTC, Imperatorn wrote:
On Monday, 18 January 2021 at 19:42:22 UTC, Marcone wrote:
How can I create a Standalone Bundle Portable
On 1/19/21 9:28 PM, Per Nordlöw wrote:
On Tuesday, 19 January 2021 at 16:14:17 UTC, drug wrote:
https://dlang.org/phobos/std_bitmanip.html#FloatRep
Doesn't this pattern already cover all possible cases of `value` needed?
void f(double value)
{
auto lvalue = cast(long)value;
if
21 matches
Mail list logo