[Issue 16408] [REG2.065] Converting char* to string with std.conv.to!string is wrong in release mode

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16408 --- Comment #10 from Walter Bright --- Found the PR that introduced the bug: https://github.com/dlang/dmd/pull/2880 --

[Issue 16408] [REG2.065] Converting char* to string with std.conv.to!string is wrong in release mode

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16408 --- Comment #9 from Walter Bright --- What's going wrong is the compiler is moving expressions with side effects (SDL_GetKeyName('W'), SDL_GetKeyName('A')) to before the function call, which gets the side effects out of order. I seem to recall a PR t

[Issue 17328] New: std.experimental.logger: wrong hex formatting for zeros

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17328 Issue ID: 17328 Summary: std.experimental.logger: wrong hex formatting for zeros Product: D Version: D2 Hardware: All OS: Windows Status: NEW

[Issue 17310] [SPEC] Ambiguous mangling for 'Y', Objective-C function or variadic arguments?

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17310 --- Comment #5 from Rainer Schuetze --- Try these: module test; struct S {} extern(Objective-C) void ofun() { void foo(S s, ...); void goo(typeof(&foo) fn); pragma(msg, foo.mangleof); // _D4test4ofunYZ3fooMFS4test1SYv pragma(msg, go

[Issue 17310] [SPEC] Ambiguous mangling for 'Y', Objective-C function or variadic arguments?

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17310 --- Comment #4 from Iain Buclaw --- (In reply to Rainer Schuetze from comment #0) > > Granted, the function type might never appear without a pointer prefix in > the argument list, but this special case makes it harder for a demangler. > I think i

[Issue 17310] [SPEC] Ambiguous mangling for 'Y', Objective-C function or variadic arguments?

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17310 Iain Buclaw changed: What|Removed |Added Hardware|x86_64 |All OS|Windows

[Issue 17310] [SPEC] Ambiguous mangling for 'Y', Objective-C function or variadic arguments?

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17310 --- Comment #3 from Iain Buclaw --- $ ./cxxfilt -s dlang _D8demangle3fooFPYZvZv demangle.foo(extern(Objective-C) void() function) _D8demangle3gooFYv demangle.goo(...) I have no problem handling this. ;-) --

[Issue 14591] [SPEC] Ambiguity between extern(Pascal) and template value parameters

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14591 Iain Buclaw changed: What|Removed |Added Severity|blocker |normal --- Comment #11 from Iain Buclaw --- I

[Issue 17327] std.getopt: repeated options unrecognised

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17327 --- Comment #2 from novalazy+dl...@gmail.com --- Oops, sorry for the incomplete bug report. Indeed I hit the problem with a boolean option and forgot to check other types. --

[Issue 17310] [SPEC] Ambiguous mangling for 'Y', Objective-C function or variadic arguments?

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17310 Rainer Schuetze changed: What|Removed |Added Keywords||pull --- Comment #2 from Rainer Schuetze

[Issue 14591] [SPEC] Ambiguity between extern(Pascal) and template value parameters

2017-04-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14591 Rainer Schuetze changed: What|Removed |Added Keywords||pull --- Comment #10 from Rainer Schuetze