https://issues.dlang.org/show_bug.cgi?id=18022
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=18028
Ketmar Dark changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=18029
Ketmar Dark changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=18029
Issue ID: 18029
Summary: extra dtor call with typed variadic argument (or
missing postblit)
Product: D
Version: D2
Hardware: x86
OS: All
Status: NEW
On 12/3/17 21:28, Walter Bright wrote:
On 12/3/2017 8:59 PM, Adam Wilson wrote:
I have to agree with this. I make my living on server side software,
and we aren't allowed (by legal) to connect to the server to run
debuggers. The *only* thing I have is logging. If the program crashes
with no
On 12/3/2017 8:59 PM, Adam Wilson wrote:
I have to agree with this. I make my living on server side software, and we
aren't allowed (by legal) to connect to the server to run debuggers. The *only*
thing I have is logging. If the program crashes with no option to trap an
exception or otherwise
On 12/3/17 00:09, Dmitry Olshansky wrote:
On Saturday, 2 December 2017 at 23:44:39 UTC, Walter Bright wrote:
On 12/2/2017 4:38 AM, Iain Buclaw wrote:
But then you need to bloat your program with debug info in order to
understand what, why, and how things went wrong.
Most of the time (for me)
On Monday, 4 December 2017 at 01:54:57 UTC, ketmar wrote:
Basile B. wrote:
On Sunday, 3 December 2017 at 22:22:47 UTC, Arun
Chandrasekaran wrote:
Git CLI is arcane and esoteric. I've lost my commits before
(yeah, my mistake).
Who hasn't ;)
me.
Happened to me last time because i tried a
Basile B. wrote:
On Sunday, 3 December 2017 at 22:22:47 UTC, Arun Chandrasekaran wrote:
Git CLI is arcane and esoteric. I've lost my commits before (yeah, my
mistake).
Who hasn't ;)
me.
Happened to me last time because i tried a command supposed to remove
untracked files in
On 12/3/2017 5:12 PM, Michael V. Franklin wrote:
Ok, well perhaps that makes sense compiling with -fPIC, but the "relocation
R_X86_64_32 against `.rodata.str1.1'" seems unnecessary.
Why certain relocations are there is not at all a simple subject. And changing
them tends to produce all sorts
On 12/3/2017 5:01 PM, Michael V. Franklin wrote:
Would it help for me to file bugzilla issues for things like this?
No, because "why does the compiler do xxx" isn't really a bug report. You could
ask on the learn n.g., or use obj2asm to examine the generated code. You can
also grep the
On Sunday, 3 December 2017 at 23:39:49 UTC, Basile B. wrote:
On Sunday, 3 December 2017 at 22:22:47 UTC, Arun Chandrasekaran
wrote:
Git CLI is arcane and esoteric. I've lost my commits before
(yeah, my mistake).
Who hasn't ;)
Happened to me last time because i tried a command supposed to
On 12/3/2017 4:25 PM, Michael V. Franklin wrote:
It would be great for the compiler devs to run through this exercise themselves
and make changes to the compiler/runtime interface to remove the irrelevant
requirements the compiler is imposing.
I don't agree that creating a stub druntime is
On Monday, 4 December 2017 at 01:01:47 UTC, Michael V. Franklin
wrote:
.$> dmd -defaultlib= -debuglib= -conf= main.d -of=main
/usr/bin/ld: main.o: relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed:
On Monday, 4 December 2017 at 00:25:53 UTC, Michael V. Franklin
wrote:
A better solution would be to do what Iain said:
Try compiling a simple "hello world" with an empty object.d
file. Then inspect what the compiler does. Does it error and
exit, or does it ICE? What can be done to
On Sunday, 3 December 2017 at 23:34:13 UTC, Walter Bright wrote:
If -betterC motivates people to come up with better solutions,
I'm all for it.
A better solution would be to do what Iain said:
Try compiling a simple "hello world" with an empty object.d
file. Then inspect what the compiler
On Sunday, 3 December 2017 at 22:22:47 UTC, Arun Chandrasekaran
wrote:
Git CLI is arcane and esoteric. I've lost my commits before
(yeah, my mistake).
Who hasn't ;)
Happened to me last time because i tried a command supposed to
remove untracked files in submodules...but used "reset" in a
On 12/3/2017 11:22 AM, Michael V. Franklin wrote:
On Sunday, 3 December 2017 at 12:20:14 UTC, Walter Bright wrote:
Meanwhile, we've got -betterC today, and it's simple and it works.
IMO -betterC is papering over the problem rather than dealing with it.
If -betterC motivates people to come up
On Sunday, 3 December 2017 at 22:33:40 UTC, kdevel wrote:
On Sunday, 3 December 2017 at 14:58:03 UTC, Basile B. wrote:
In this case i'd go for a typed pointer, e.g
---
immutable struct Configuration
{
this(string){/*load some file...*/}
int value;
}
Configuration* config;
void main()
On Sun, 03 Dec 2017 16:42:46 +, vino wrote:
> Question:
> Is there a way to map network drive in windows using D code, similar to
> the windows command such as "net use" or "pushd" or powershell command
> New-PSDrive.?
>
> From,
> Vino.B
There's WNetAddConnection2[1] and
On Sunday, 3 December 2017 at 14:58:03 UTC, Basile B. wrote:
In this case i'd go for a typed pointer, e.g
---
immutable struct Configuration
{
this(string){/*load some file...*/}
int value;
}
Configuration* config;
void main()
{
try config = new Configuration("config.sdl");
Git CLI is arcane and esoteric. I've lost my commits before
(yeah, my mistake). Since then I always access git via mercurial.
In comparison Mercurial is far better a VCS tool.
On Sunday, 3 December 2017 at 20:05:47 UTC, bitwise wrote:
I've finally started learning git, due to our team expanding
beyond one person - awesome, right? Anyways, I've got things
more or less figured out, which is nice, because being clueless
about git is a big blocker for me trying to do
https://issues.dlang.org/show_bug.cgi?id=18028
Issue ID: 18028
Summary: Allow Unnecessary Template Instantiation To Be Dropped
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Sunday, 3 December 2017 at 20:05:47 UTC, bitwise wrote:
I've finally started learning git, due to our team expanding
beyond one person - awesome, right? Anyways, I've got things
more or less figured out, which is nice, because being clueless
about git is a big blocker for me trying to do
https://issues.dlang.org/show_bug.cgi?id=18027
Issue ID: 18027
Summary: CRLF terminators in release tarball files
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
I've finally started learning git, due to our team expanding
beyond one person - awesome, right? Anyways, I've got things more
or less figured out, which is nice, because being clueless about
git is a big blocker for me trying to do any real work on
dmd/phobos/druntime. As far as working on a
On Sunday, 3 December 2017 at 12:20:14 UTC, Walter Bright wrote:
It may indeed work to use a special druntime. My expectation,
however, is that it's a lot more work trying to develop and
support another runtime library, and a lot more work for the
user trying to get that library worked into
On Sunday, 3 December 2017 at 12:20:14 UTC, Walter Bright wrote:
It may indeed work to use a special druntime. My expectation,
however, is that it's a lot more work trying to develop and
support another runtime library, and a lot more work for the
user trying to get that library worked into
On Sunday, 3 December 2017 at 15:24:27 UTC, Manuel Maier wrote:
I've been experimenting with the -betterC switch and stumbled
upon something that didn't quite make sense to me.
betterC doesn't change the language, it just doesn't compile in
all the features automatically. So rules about
On Sunday, 3 December 2017 at 01:27:40 UTC, codephantom wrote:
On Saturday, 2 December 2017 at 14:23:48 UTC, Vino wrote:
Hi,
Even tried the Option "Run with Highest Privilege" but no
luck. and also tried with option "Configure for : Windows
Vista , Windows Server 2008"
From,
Vino.B
You
https://issues.dlang.org/show_bug.cgi?id=12842
Neia Neutuladh changed:
What|Removed |Added
CC||dhase...@gmail.com
---
Why is template param T != B but T == Rebindable!(const(B)) when
specialization is T : const(A)?
abstract class A{}
class B : A{}
string foo(T : const(A))(T x){
return T.stringof;
}
void main(){
import std.typecons : Rebindable;
import std.stdio : writeln;
Rebindable!(const
On 2017-12-03 12:52, kinke wrote:
Working on that. It's not that simple though; we use a custom LLVM,
which Travis doesn't manage to build alone in a dedicated job (only ~66%
before timing out).
Hmm, I would need to do that as well for DStep :(. That's disappointing.
Would caching help [1]?
On 2017-12-03 10:57, Nick Sabalausky (Abscissa) wrote:
On 12/03/2017 03:46 AM, bauss wrote:
It wouldn't make much sense either, if a struct was able to do it.
Why is that?
It would get an extra field, making the size of the struct larger and
not compatible with a C struct. But I guess
https://issues.dlang.org/show_bug.cgi?id=18026
Issue ID: 18026
Summary: Stack overflow in ddmd/dtemplate.d:6241,
TemplateInstance::needsCodegen()
Product: D
Version: D2
Hardware: x86_64
OS: Linux
On 3 December 2017 at 13:20, Walter Bright via Digitalmars-d
wrote:
> On 12/3/2017 2:32 AM, Iain Buclaw wrote:
>>
>> People have been making alternative druntime libraries for a while
>> now, either as stubs inside their own project, or by using minilibd.
>> There's
I've been experimenting with the -betterC switch and stumbled
upon something that didn't quite make sense to me.
I've put together a small example [1] of Win32 code with a window
callback that has to be nothrow as per the definition of WNDPROC
somewhere in core.sys.windows. However, calling
On Sunday, 3 December 2017 at 05:49:54 UTC, Fra Mecca wrote:
I have this code:
Configuration conf = void ;
try {
conf = parse_config("config.sdl");
} catch (Exception e) {
std.stdio.stderr.writeln("Error reading configuration
file: ", e.msg);
exit(1);
}
On Sunday, 3 December 2017 at 14:16:42 UTC, kdevel wrote:
int main ()
{
try {
real_main ();
}
catch (Exception e) {
std.stdio.stderr.writeln(e.msg);
return 1;
}
return 0;
}
```
This is better:
int main ()
{
try {
return real_main ();
}
catch
On Saturday, 2 December 2017 at 23:26:20 UTC, Ivan Trombley wrote:
On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote:
You can try `dub build --build-mode=single-file --parallel`.
It will execute separate instance of compiler for each source
file. If --parallel is given, dub will launch
On Sunday, 3 December 2017 at 05:49:54 UTC, Fra Mecca wrote:
I have this code:
Configuration conf = void ;
try {
conf = parse_config("config.sdl");
} catch (Exception e) {
std.stdio.stderr.writeln("Error reading configuration
file: ", e.msg);
exit(1);
}
https://issues.dlang.org/show_bug.cgi?id=17723
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dlang.org
https://github.com/dlang/dlang.org/commit/d77bf4c58bf8d659b764631e4954edc9647d8feb
Fix Issue 17723 - Replace Facebook on the front
Hi everyone,
on behalf of the LDC team, I'm glad to announce LDC 1.6. The
highlights of this version in a nutshell:
* Based on D 2.076.1.
* Experimental support for dynamic codegen at runtime ('manual
JIT').
* Many std.math functions are now CTFE-able.
Full release log and downloads:
On Saturday, 2 December 2017 at 22:16:09 UTC, Joakim wrote:
On Friday, 1 December 2017 at 23:16:45 UTC, H. S. Teoh wrote:
On Fri, Dec 01, 2017 at 03:04:44PM -0800, Walter Bright via
Digitalmars-d wrote:
On 11/30/2017 9:23 AM, Kagamin wrote:
> On Tuesday, 28 November 2017 at 03:37:26 UTC, rikki
On 12/3/2017 2:32 AM, Iain Buclaw wrote:
People have been making alternative druntime libraries for a while
now, either as stubs inside their own project, or by using minilibd.
There's nothing stopping you from simply swapping out druntime for
another implementation.
It may indeed work to use
On Saturday, 2 December 2017 at 23:08:50 UTC, David Nadlinger
wrote:
On Saturday, 2 December 2017 at 15:47:23 UTC, Jacob Carlborg
wrote:
On 2017-12-02 13:41, kinke wrote:
Nope, unfortunately still waiting for one of my compadres to
create and upload the OSX package.
Have you thought of
On 3 December 2017 at 00:56, Walter Bright via Digitalmars-d
wrote:
> On 12/2/2017 4:13 AM, Iain Buclaw wrote:
>>
>> On 29 November 2017 at 03:18, Walter Bright via Digitalmars-d
>> wrote:
>>>
>>> On 11/28/2017 9:27 AM, Jacob Carlborg
On 12/03/2017 03:46 AM, bauss wrote:
On Sunday, 3 December 2017 at 07:38:47 UTC, Jonathan M Davis wrote:
As I understand it, there is no outer for nested structs, only nested
classes. So, you'll either have to use a nested class or explicitly
pass a reference to the outer class to the nested
On 3 December 2017 at 08:29, Richard Delorme via Digitalmars-d
wrote:
> On Saturday, 2 December 2017 at 23:44:39 UTC, Walter Bright wrote:
>>
>> On 12/2/2017 4:38 AM, Iain Buclaw wrote:
>>>
>>> But then you need to bloat your program with debug info in order to
>>>
On 11/30/2017 7:43 PM, Adam D. Ruppe wrote:
int 3, on the other hand, is explicitly for debugging - which is what we want
asserts to be.
https://github.com/dlang/dmd/pull/7391
On Sunday, 3 December 2017 at 07:38:47 UTC, Jonathan M Davis
wrote:
On Sunday, December 03, 2017 01:05:00 Nick Sabalausky via
Digitalmars-d- learn wrote:
Is this even possible? My attempts:
class Outer {
struct Inner {
void foo() {
// Error: no property 'outer' for type
On 2017-12-03 08:29, Richard Delorme wrote:
+1
To me, the current D assert is useless, and I prefer to use a C-like
equivalent, that "crash" the program without unwinding the stack. Then I
can inspect the cause of the crash on a debugger, with access to the
current context (variable
On 2017-12-03 00:08, David Nadlinger wrote:
That would be a good idea. Also, I uploaded the OS X package just now.
(Didn't realise it wasn't built yet…). —David
Here's the Travis CI script for one of my projects [1] that uploads to a
GitHub release, both for Linux and macOS.
[1]
On Saturday, 2 December 2017 at 23:44:39 UTC, Walter Bright wrote:
On 12/2/2017 4:38 AM, Iain Buclaw wrote:
But then you need to bloat your program with debug info in
order to
understand what, why, and how things went wrong.
Most of the time (for me) that isn't necessary, because the
55 matches
Mail list logo