Kagamin wrote:
Stewart Gordon Wrote:
What is @ going to be used for generally? (What is the essential
difference between an attribute that's an @word and one that's a simple
keyword before or after the type?)
Annotations can be user-defined and can contain data.
But @property clearly cann
Walter Bright Wrote:
> Jason House wrote:
> > Which gdb should this release work with?
> >
> > I seem to have misplaced my patched gdb. The standard gdb 6.8 can show
> > backtraces but can't list code, even if the code is linked in libraries
> > from
> > C++.
>
> If you're using the standard
Walter Bright:
> The flow analysis could be run on every compile by default, but it would
> make for pretty slow turnaround.
On GCC if you want a safer compilation you add things like -Wall -Wextra, etc.
In D the default is better to be safe (just like you add -release to remove
some safeties),
Denis Koroskin wrote:
On Wed, 07 Oct 2009 00:54:22 +0400, grauzone wrote:
Jarrett Billingsley wrote:
On Tue, Oct 6, 2009 at 3:08 PM, Walter Bright
wrote:
Lutger wrote:
Walter Bright wrote:
Don wrote:
It's pretty standard, though. For example, there are some bugs which
Visual C++ detects
On Wed, 07 Oct 2009 00:54:22 +0400, grauzone wrote:
Jarrett Billingsley wrote:
On Tue, Oct 6, 2009 at 3:08 PM, Walter Bright
wrote:
Lutger wrote:
Walter Bright wrote:
Don wrote:
It's pretty standard, though. For example, there are some bugs which
Visual C++ detects only when the optimise
Jarrett Billingsley wrote:
On Tue, Oct 6, 2009 at 3:08 PM, Walter Bright
wrote:
Lutger wrote:
Walter Bright wrote:
Don wrote:
It's pretty standard, though. For example, there are some bugs which
Visual C++ detects only when the optimiser is on. From memory, they are
all flow-related. The MS
On Tue, Oct 6, 2009 at 3:08 PM, Walter Bright
wrote:
> Lutger wrote:
>>
>> Walter Bright wrote:
>>
>>> Don wrote:
It's pretty standard, though. For example, there are some bugs which
Visual C++ detects only when the optimiser is on. From memory, they are
all flow-related. The M
Lutger wrote:
Walter Bright wrote:
Don wrote:
It's pretty standard, though. For example, there are some bugs which
Visual C++ detects only when the optimiser is on. From memory, they are
all flow-related. The MS docs recommend compiling a release build
occasionally to catch them.
The flow an
Stewart Gordon Wrote:
> What is @ going to be used for generally? (What is the essential
> difference between an attribute that's an @word and one that's a simple
> keyword before or after the type?)
Annotations can be user-defined and can contain data.
Walter Bright wrote:
> Don wrote:
>> It's pretty standard, though. For example, there are some bugs which
>> Visual C++ detects only when the optimiser is on. From memory, they are
>> all flow-related. The MS docs recommend compiling a release build
>> occasionally to catch them.
>
>
> The flow
Don wrote:
It's pretty standard, though. For example, there are some bugs which
Visual C++ detects only when the optimiser is on. From memory, they are
all flow-related. The MS docs recommend compiling a release build
occasionally to catch them.
The flow analysis could be run on every compil
Nick Sabalausky wrote:
"Nick Sabalausky" wrote in message
news:hadst9$58...@digitalmars.com...
"Walter Bright" wrote in message
news:hadqcs$30n...@digitalmars.com...
BCS wrote:
Hello Walter,
#ponce wrote:
I think it's disabled in debug mode to keep the compilation time low.
That, and t
Walter Bright wrote:
> Please post to bugzilla.
Done!
http://d.puremagic.com/issues/show_bug.cgi?id=3368
MIURA Masahiro wrote:
> Uncomment the line 6, and gdb is now unable to list code:
Please post to bugzilla.
Jason House wrote:
> The standard gdb 6.8 can show
> backtraces but can't list code, even if the code is linked in libraries from
> C++.
Can gdb *always* list code for you?
For me, it sometimes does, sometimes doesn't.
cut here
% cat -n foo.d
1 import std.stdio;
2
3 v
Jason House wrote:
Which gdb should this release work with?
I seem to have misplaced my patched gdb. The standard gdb 6.8 can show
backtraces but can't list code, even if the code is linked in libraries from
C++.
If you're using the standard gdb, try compiling with -gc. I'm using
whatever
Which gdb should this release work with?
I seem to have misplaced my patched gdb. The standard gdb 6.8 can show
backtraces but can't list code, even if the code is linked in libraries from
C++.
Walter Bright wrote:
> Another OSX 10.5 release :-)
>
> Anyhow, this should work with gdb now, and
Denis Koroskin wrote:
int bar() @property
{
return 42;
}
What is @ going to be used for generally? (What is the essential
difference between an attribute that's an @word and one that's a simple
keyword before or after the type?)
Stewart.
Vladimir Panteleev wrote:
On Mon, 05 Oct 2009 10:54:22 +0300, Walter Bright
wrote:
gdb stack trace should work now
Could someone please elaborate on this a bit (what exactly was changed),
or at least point to the respective SVN revision or something?
All the changes are in dwarf.c.
On Mon, 05 Oct 2009 10:54:22 +0300, Walter Bright
wrote:
gdb stack trace should work now
Could someone please elaborate on this a bit (what exactly was changed),
or at least point to the respective SVN revision or something?
--
Best regards,
Vladimir mailto:the
"Nick Sabalausky" wrote in message
news:hadst9$58...@digitalmars.com...
> "Walter Bright" wrote in message
> news:hadqcs$30n...@digitalmars.com...
>> BCS wrote:
>>> Hello Walter,
>>>
#ponce wrote:
> I think it's disabled in debug mode to keep the compilation time low.
>
T
"Walter Bright" wrote in message
news:hadqcs$30n...@digitalmars.com...
> BCS wrote:
>> Hello Walter,
>>
>>> #ponce wrote:
>>>
I think it's disabled in debug mode to keep the compilation time low.
>>> That, and the optimizer tends to scramble the relationship between
>>> source and assem
bearophile wrote:
Steven Schveighoffer:
Also interesting from this revelation is that attributes are coming :D
Despite all, it seems sometimes Walter listens :-)
Wow, indeed he does. :-D
BCS wrote:
Hello Walter,
#ponce wrote:
I think it's disabled in debug mode to keep the compilation time low.
That, and the optimizer tends to scramble the relationship between
source and assembler, making source debugging next to impossible.
How hard would it be to have the code generate
Nick Sabalausky wrote:
I see, but is that just a temporary situation? I'm fine with it for now, but
optimizers are known for conflicting with debugging, so in the long run I'd
hate to have to split my debug builds into separate "maximum static
analysis" vs "debuggable" builds (I already had bee
Hello Walter,
#ponce wrote:
I think it's disabled in debug mode to keep the compilation time low.
That, and the optimizer tends to scramble the relationship between
source and assembler, making source debugging next to impossible.
How hard would it be to have the code generate run on the
"Walter Bright" wrote in message
news:hadbml$1mb...@digitalmars.com...
> Nick Sabalausky wrote:
>> "Compiler now detects some cases of illegal null dereferencing when
>> compiled with -O"
>>
>> A bug-detection feature that's turned on with -O? I assume that's just a
>> temporary situation and i
#ponce wrote:
I think it's disabled in debug mode to keep the compilation time low.
That, and the optimizer tends to scramble the relationship between
source and assembler, making source debugging next to impossible.
I guess it's more expensive CPU-wise than escape analysis which is done in
Denis Koroskin wrote:
Yay! :)
It's only half-implemented. Don't use it yet :-(
Steven Schveighoffer wrote:
1. "The result type of the typeid(type) is now the most derived TypeInfo
class, rather than the TypeInfo base class" Why can't this be
propogated to D1? I can't imagine code that depends on the return value
being typed as TypeInfo that would not simply just work wi
Nick Sabalausky wrote:
"Compiler now detects some cases of illegal null dereferencing when compiled
with -O"
A bug-detection feature that's turned on with -O? I assume that's just a
temporary situation and is related to either it currently being detected by
the optimizer and the feature maybe
Tim Matthews wrote:
3301 didn't make this release. Is there outstanding problems with
Rainer's patch? Thanks anyway.
I just need more time to study that one.
>
> Somewhere in the huge thread(s) on the topic Walter mentioned the optimizer
> does (some of) the required flow analysis, so presumably it needs to run in
> order for this to work.
I think it's disabled in debug mode to keep the compilation time low.
I guess it's more expensive CPU-wise tha
Nick Sabalausky wrote:
> "Walter Bright" wrote in message
> news:hac8nb$26j...@digitalmars.com...
>> Another OSX 10.5 release :-)
>>
>> Anyhow, this should work with gdb now, and has contract inheritance
>> (finally).
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars
Steven Schveighoffer:
> Also interesting from this revelation is that attributes are coming :D
Despite all, it seems sometimes Walter listens :-)
Maybe this syntax will be allowed (attribute before instead of after function
name):
@property int bar() {...
Bye,
bearophile
Jacob Carlborg, el 5 de octubre a las 16:08 me escribiste:
> 2. A while ago, (I can't find the post, it may have been on reddit) you
> mentioned that you were going to add property notation. Is that still
> going to happen? I'm really looking forward to that, and if not, is
> there
On 10/5/09 15:46, Steven Schveighoffer wrote:
On Mon, 05 Oct 2009 09:12:32 -0400, Denis Koroskin <2kor...@gmail.com>
wrote:
On Mon, 05 Oct 2009 16:55:49 +0400, Jacob Carlborg wrote:
On 10/5/09 13:49, Steven Schveighoffer wrote:
On Mon, 05 Oct 2009 03:54:22 -0400, Walter Bright
wrote:
Ano
On Mon, 05 Oct 2009 09:12:32 -0400, Denis Koroskin <2kor...@gmail.com>
wrote:
On Mon, 05 Oct 2009 16:55:49 +0400, Jacob Carlborg wrote:
On 10/5/09 13:49, Steven Schveighoffer wrote:
On Mon, 05 Oct 2009 03:54:22 -0400, Walter Bright
wrote:
Another OSX 10.5 release :-)
Anyhow, this shoul
On Mon, 05 Oct 2009 16:55:49 +0400, Jacob Carlborg wrote:
On 10/5/09 13:49, Steven Schveighoffer wrote:
On Mon, 05 Oct 2009 03:54:22 -0400, Walter Bright
wrote:
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalma
On 10/5/09 13:49, Steven Schveighoffer wrote:
On Mon, 05 Oct 2009 03:54:22 -0400, Walter Bright
wrote:
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.
On Mon, 05 Oct 2009 03:54:22 -0400, Walter Bright
wrote:
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.048.zip
http://www.digitalmars.com/d/2.0
Can someone show an usage example of contract inheritance? (where inheritance
is useful).
Regarding the fixed bugs 2702 and 2469, I'm having problems still, at the
bottom y is 0:
import std.stdio: writeln;
import std.conv: to;
struct Ranged(int RANGED_MIN, int RANGED_MAX) {
int x_ = RANGE
On Mon, 05 Oct 2009 14:23:26 +0400, Nick Sabalausky wrote:
"Walter Bright" wrote in message
news:hac8nb$26j...@digitalmars.com...
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalmars.com/d/1.0/changelog.html
http:
"Walter Bright" wrote in message
news:hac8nb$26j...@digitalmars.com...
> Another OSX 10.5 release :-)
>
> Anyhow, this should work with gdb now, and has contract inheritance
> (finally).
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.048.zip
>
>
> http://w
On Mon, 05 Oct 2009 13:07:04 +0400, Tim Matthews
wrote:
Walter Bright wrote:
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.048.zip
http://www.
Walter Bright wrote:
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.048.zip
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.co
Another OSX 10.5 release :-)
Anyhow, this should work with gdb now, and has contract inheritance
(finally).
http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.048.zip
http://www.digitalmars.com/d/2.0/changelog.html
http://ftp.digitalmars.com/dmd.2.033.zip
Many
47 matches
Mail list logo