Re: [Issue 8530] New: Float types default initializers doesn't work in class

2012-08-10 Thread Walter Bright

On 8/10/2012 2:30 AM, Daniel Kozak wrote:

Problematic code:


Replying to bug reports in the newsgroup generally means your reply will be 
overlooked. Please reply on bugzilla.


Re: OPTLINK : Error 118: Filename Expected

2012-08-08 Thread Walter Bright

On 8/8/2012 4:11 PM, anon wrote:

Yet another obscure error message that makes no sense.


I suspect it's the ( ) you have in the file names.


Re: Procedure entry point RtlCaptureContext could not be located

2012-05-11 Thread Walter Bright

On 5/11/2012 12:39 PM, Steve Greene wrote:

Here is the complete message:

The procedure entry point RtlCaptureContext could not be located in the
dynamic link library KERNEL32.dll

Here is my program:

   int main(char[][] args) {
 return(0);
   }

That's it. That's the whole thing. I recently read about the D language when I
was looking up some information for a C program I'm writing, and it looks very
interesting (I also use Perl heavily, and I liked some of the ideas about D;
seems kind of like C and some really good aspects of Perl in one language) so
I wanted to try it out, so I downloaded it. Unfortunately, apparently I can't
use it.

I'm on a Windows 2000 Professional SP4 machine.


1. This newsgroup is just an echo for bugzilla, bug reports should go to 
bugzilla instead. Few read this group.


2. dmd no longer supports Win2K. It was necessary to drop support for it in 
order to rely on numerous bug fixes in Windows since then.


Re: [Issue 6857] Precondition contract checks should be statically bound.

2012-05-06 Thread Walter Bright

On 5/6/2012 2:19 AM, d-bugm...@puremagic.com wrote:

That is not this complicated. you need a final function that check the in
contract, then call another virtual function that actually execute the function
body and the out contract.

With such a configuration, the in contract is checked and only then the virtual
dispatch is done.



It's not that simple. Several considerations have to be met:

1. Because of struct construction/destruction, you really only want to construct 
the parameter list *once*, but you're calling two functions with the same 
parameter list.


2. Variadic functions mean that one function cannot forward to another one using 
standard functions. (Perhaps a dirty magic thunk can work.)


3. The presence or absence of contracts must not change the ABI of the function.

4. The virtual table must be unchanged.

5. It's not so practical to jump into the middle of another function - things 
just aren't designed that way.


6. The caller now has to be aware of contracts in the called function, this was 
never necessary before.


Re: [Issue 6857] Precondition contract checks should be statically bound.

2012-05-05 Thread Walter Bright

Please reply on bugzilla, replying here is most likely to be overlooked.


Re: opDispatch returning this not working in a hierarchy

2012-02-01 Thread Walter Bright

On 2/1/2012 8:00 PM, Daniel L. Alves wrote:

I don't know if this is really a bug or some gotcha of the language that I
don't get. I'm sorry if it happens to be the later.



This n.g. is mainly for bugzilla notifications. Questions like this should go 
into the digitalmars.D.learn n.g.


But to answer your question, printValue is a template, and templates are not 
virtual. Also, DispatchBase.opDispatch knows nothing about DispatchDerived.


bugzilla hooked to github

2012-01-20 Thread Walter Bright
Some of you may have noticed that Brad Roberts has configured bugzilla so it 
gets notifications from github when fixes get pushed. This makes things easier 
and more consistent.


Re: GC.collect() and GC.minimize() not releasing memory

2011-01-07 Thread Walter Bright

Simen kjaeraas wrote:

Stewart Gordon smjg_1...@yahoo.com wrote:


On 24/12/2010 06:13, torhu wrote:

This newsgroup is just for automated use by Bugzilla.

snip

Where is the official statement of this?


Likely there is no hard official statement. However,
http://www.digitalmars.com/NewsGroup.html states that it is for Bug
reports for D compiler and library. Those use Bugzilla for bug reports,
and free-floating posts in the newsgroup are not tracked like those in
Bugzilla, giving them a lot less value.



That's right. It's just not useful to post free floating posts here. Bug reports 
should go in bugzilla.


Re: [Issue 3192] Segfault(iasm.c) asm in a anonymous delegate

2009-07-20 Thread Walter Bright

I'll put some comments in.


Re: Bugzilla Downtime

2009-05-10 Thread Walter Bright

Thanks for taking care of this, Brad!


Re: bugzilla email

2009-05-10 Thread Walter Bright

Brad Roberts wrote:

Who found it useful and/or desirable?


I think it's useful and desirable, as otherwise there'll be two separate 
threads about each bug.


Re: Russian and other national languages support

2009-02-20 Thread Walter Bright

zorran wrote:

Russian language not working
in comments and strings by default
with ANSI coding (code page)

Compiler write error - invalid UTF-8 sequence


D source code is expected to be in Unicode format (like UTF-8). Modern 
editors can be set to generate this format instead of using code pages.


Having the source code in Unicode ensures global portability of the 
source code. If the code is written in one code page, then compiled or 
displayed with a different code page, the result is garbage.