On 08/23/2017 07:45 AM, Vino.B wrote:
Execution :
rdmd Summary.d - Not working
rdmd Summary.d test - Working
Program:
void main (string[] args)
{
if(args.length != 2 )
writefln("Unknown operation: %s", args[1]);
}
When args.length == 1, then the one element is args[0], not args[1].
Hi All,
Can any one guide me what is wrong with the below code , whil i
run the code without any arguments is am getting the below
exception
Execution :
rdmd Summary.d - Not working
rdmd Summary.d test - Working
Program:
void main (string[] args)
{
if(args.length != 2 )
Hi All,
When i run the below code in windows i am getting "The system
cannot find the path specified" even though the path exist , the
length of the path is 516 as below, request your help.
Path :
On 8/22/17 5:44 PM, jmh530 wrote:
On Tuesday, 22 August 2017 at 18:25:31 UTC, Steven Schveighoffer wrote:
@safe void main()
{
struct Foo {
int foo(int i, string s) @safe { return 0; }
double foo2(string s) @safe { return 0; }
}
printMemberTypes!(Foo);
}
The
On Tuesday, 22 August 2017 at 18:25:31 UTC, Steven Schveighoffer
wrote:
@safe void main()
{
struct Foo {
int foo(int i, string s) @safe { return 0; }
double foo2(string s) @safe { return 0; }
}
printMemberTypes!(Foo);
}
The surprising part to me is that
On Tuesday, 22 August 2017 at 15:15:41 UTC, Mike Wey wrote:
On 22-08-17 02:13, Johnson wrote:
I can't get the example to work(although slightly modified).
The installed version of GStreamer is 1.12.2
The file is: D:\temp\test.ogg
Loading
Setting to PLAYING.
Running.
XError: Could not
On 8/22/17 2:19 PM, jmh530 wrote:
Yeah, this happens with @safe main also (below), but not for more
regular local blocks. Anyway, I found it very confusing as that's not
how I assumed @safe applied to unittests or main worked.
@safe void main()
{
struct Foo {
int foo(int i,
On Tuesday, 22 August 2017 at 16:27:05 UTC, Jonathan M Davis
wrote:
Well, templates aren't the only case where we have attribute
inference anymore (e.g. auto return functions have it), and I'm
pretty sure that there have been several requests for fixing
issues regards to local declarations
On 8/22/17 12:15 PM, Kagamin wrote:
https://issues.dlang.org/show_bug.cgi?id=6585 is this fixed too? How
various opIndex will behave now?
Seems to work. I closed as a duplicate.
-Steve
On Tuesday, 22 August 2017 at 12:03:18 UTC, Igor wrote:
On Monday, 21 August 2017 at 12:38:28 UTC, Mike Parker wrote:
Have you tried to compile outside of VisualD?
Hmmm... I though I tried running with just typing dub which
should use m32 by default as far as I know and got the error. I
On Tuesday, August 22, 2017 16:11:11 jmh530 via Digitalmars-d-learn wrote:
> I'm not sure if this is a bug or not.
>
> I was playing around with printing out some member types with
> unittests and I was noticing some strange results when they were
> in @safe unittests rather than normal unittests.
https://issues.dlang.org/show_bug.cgi?id=6585 is this fixed too?
How various opIndex will behave now?
I'm not sure if this is a bug or not.
I was playing around with printing out some member types with
unittests and I was noticing some strange results when they were
in @safe unittests rather than normal unittests. The first one
prints out what I would expect, but the @safe unittest puts @safe
On Monday, 21 August 2017 at 15:39:04 UTC, Steven Schveighoffer
wrote:
What I mean is that %s goes to %d for isIntegral!(typeof(x)),
and %s goes to %g for isFloatingPoint!(typeof(x)), and stays as
%s for everything else.
Given this, you could probably write the function you were
looking
On 22-08-17 02:13, Johnson wrote:
I can't get the example to work(although slightly modified).
The installed version of GStreamer is 1.12.2
The file is: D:\temp\test.ogg
Loading
Setting to PLAYING.
Running.
XError: Could not demultiplex stream. dbug: gstoggdemux.c(4418):
On 22-08-17 01:38, Johnson wrote:
On Monday, 21 August 2017 at 20:54:04 UTC, Mike Wey wrote:
On 21-08-17 03:45, Johnson Jones wrote:
[...]
If you want gtk to know about the functions you override you could use
gtkd.Implement.ImplementCLass.
[...]
Thanks, I'll test it out when I get a
Hi All,
Request your help on sending Mails, I am able to receive mails
with empty body the line "smtp.message ="Example Message" doesn't
seem to be working and also please let me know how do i send a
file as a attachment in a email.
import std.net.curl;
void main ()
{
auto smtp =
On Monday, 21 August 2017 at 12:38:28 UTC, Mike Parker wrote:
On Monday, 21 August 2017 at 02:40:59 UTC, Mike Parker wrote:
On Sunday, 20 August 2017 at 19:29:55 UTC, Igor wrote:
In 64 bit builds it works with both LDC and DMD but in 32 bit
LDC version crashes and DMD release version crashes.
18 matches
Mail list logo