On Thursday, 19 March 2015 at 00:52:12 UTC, Walter Bright wrote:
On 3/18/2015 5:34 PM, cym13 wrote:
Maybe there should be a part 2 to the C-to-D little
tutorial, one that shows
how to code at a higher level introducing gently functional
structures instead
of just teaching how to write C in D.
On Thursday, 19 March 2015 at 10:21:09 UTC, Vladimir Panteleev
wrote:
On Tuesday, 17 March 2015 at 15:11:02 UTC, Ivan Kazmenko wrote:
For the former problem, is there a tool which jumps out and
tells you use Phobos without importing things properly, or
suggests a Phobos import by the name of
https://issues.dlang.org/show_bug.cgi?id=14247
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/af850d4bf770d593269f9467fb8e147b7b02380d
fix Issue 14247 -
https://issues.dlang.org/show_bug.cgi?id=14247
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Thursday, 19 March 2015 at 11:18:29 UTC, Dicebot wrote:
I call dub from makefile rules and feel pretty comfortable
about such pattern (apart from being not-so-portable compared
to raw dub). And building anything via IDE is just asking for
trouble :)
I use Vim myself, but I think people
On 3/19/15 1:38 AM, Kagamin wrote:
Hmm... I read it as it shall have the return type of int, but if not,
then it's implementation-defined.
shall is prescriptive in standardese, i.e. means must. -- Andrei
On Wednesday, 11 March 2015 at 05:15:08 UTC, Andrei Alexandrescu
wrote:
Hey folks, a while ago I raised the point about the bad
rendering of ddox-generated pages, for example:
http://dlang.org/library/std/algorithm/findSplit.html
Google returns such links so it's important the pages look
On 18/03/2015 22:09, Trent Forkert wrote:
On Wednesday, 18 March 2015 at 21:12:11 UTC, Bruno Medeiros wrote:
What kind of Eclipse projects does it generate?
CDT. Anything else would prevent it from supporting multi-language
projects, and thus turn it into yet another crappy monolingual NIHS
On Thursday, 19 March 2015 at 17:48:00 UTC, Charles Hixson wrote:
I've read a chunk of data into a buffer and want to convert it
into a struct. The reading routine is in a class that doesn't
know about the struct, but the size should be exactly the same.
(I.e., I want to use the converse
On Thursday, 19 March 2015 at 18:42:03 UTC, Marc Schütz wrote:
3) Using std.bitmap.peek(), which also supports conversion
between big- and little-endian:
import std.bitmap;
n.self = buf.peek!(Node.Node_, Endian.bigEndian);
(The examples are untested, it's possible you'll need to make
On 03/19/2015 11:42 AM, Marc =?UTF-8?B?U2Now7x0eiI=?=
schue...@gmx.net wrote:
Please use D-style array declarations, the syntax you're using is
deprecated:
I fin the following compiler switches useful:
-deshow use of deprecated features as errors (halt
compilation)
-w
On 03/19/2015 11:18 AM, ketmar via Digitalmars-d-learn wrote:
On Thu, 19 Mar 2015 10:47:05 -0700, Charles Hixson via Digitalmars-d-learn
wrote:
turn it 90 degrees. ;-)
auto cvt = cast(Node_*)buf.ptr;
n = cvt[0];
Whee! Thanks, I don't think I *ever* would have thought of that. I got
as
Over in this big long thread:
http://forum.dlang.org/post/otbosnagosqpvmski...@forum.dlang.org
There is mention of being able to store the csvReader struct:
On Tuesday, 17 March 2015 at 10:31:06 UTC, Almighty Bob wrote:
It's far more useful for csvReader to return a type I know and
can use
On Thursday, 19 March 2015 at 09:43:35 UTC, deadalnix wrote:
This is very popular in enterprise code, and there is a
reason everybody hates it.
Garbage like this is why Harbored treats the Returns: section
as the summary when the summary is missing.
It's also the reason that D-Scanner's
On Thursday, 19 March 2015 at 10:07:06 UTC, John Colvin wrote:
On Tuesday, 17 March 2015 at 18:29:20 UTC, Almighty Bob wrote:
On Tuesday, 17 March 2015 at 11:48:15 UTC, Nick Treleaven
wrote:
On 17/03/2015 10:31, Almighty Bob wrote:
It's far more useful for csvReader to return a type I know
https://issues.dlang.org/show_bug.cgi?id=14310
Issue ID: 14310
Summary: [REG2.067a] InvalidMemoryOperationError in
std.stdio.File.byLine
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=14310
--- Comment #1 from Martin Krejcirik m...@krej.cz ---
Input file here: http://bid.iline.cz/~mk/tmp/wcbugxml.bz2
--
On 3/19/2015 3:02 AM, Don wrote:
appear to be public only as an workaround (necessary for mixins or something).
Perhaps such things shouldn't actually be documented. But we don't have a
mechanism for that.
We already have a special:
/// ditto
comment. Perhaps:
/// undocumented
? At
https://issues.dlang.org/show_bug.cgi?id=14301
--- Comment #12 from Ketmar Dark ket...@ketmar.no-ip.org ---
you can build dmd with the patch i mentioned and then simply use it to compile
your code. ;-)
--
https://issues.dlang.org/show_bug.cgi?id=14301
--- Comment #13 from Ketmar Dark ket...@ketmar.no-ip.org ---
ah, sorry, i see what you mean. no, i don't think that there is such tool yet.
--
On Thursday, 19 March 2015 at 15:14:09 UTC, Bruno Medeiros wrote:
On 19/03/2015 14:45, Trent Forkert wrote:
It seems you are right that it *is* limited, but it shouldn't
be. CMake
emits include/import paths into the project structure. I had
thought it
emitted into .project, but evidently emits
https://issues.dlang.org/show_bug.cgi?id=14308
Ketmar Dark ket...@ketmar.no-ip.org changed:
What|Removed |Added
Status|NEW |RESOLVED
On Thu, Mar 19, 2015 at 15:31:49 +, Bruno Medeiros via
Digitalmars-d-announce wrote:
Indeed, I reckon in these more complex examples, you'd call DUB from
make/cmake/whatever. DUB would be in charge of building the D library
aspect/component of that whole project. I don't see why this
https://issues.dlang.org/show_bug.cgi?id=14308
Ketmar Dark ket...@ketmar.no-ip.org changed:
What|Removed |Added
Status|RESOLVED|REOPENED
https://issues.dlang.org/show_bug.cgi?id=14308
--- Comment #3 from Temtaime temta...@gmail.com ---
It's OK, but bounds checks are in my app compiled with different flags, not in
druntime.
Also if i compile it with -noboundscheck and without -release, all is working!
--
https://issues.dlang.org/show_bug.cgi?id=14308
--- Comment #4 from Temtaime temta...@gmail.com ---
*it, i mean druntime
--
On Thursday, 19 March 2015 at 14:32:53 UTC, Ivan Kazmenko wrote:
Hey, I also happen to use Far Manager and its internal editor,
at least for simple projects. Is that dcheck triggering a Far
plugin? I have a bit of experience with Far recording macros,
but didn't try to write a plugin.
It's
https://issues.dlang.org/show_bug.cgi?id=14308
--- Comment #5 from Ketmar Dark ket...@ketmar.no-ip.org ---
yes, sorry, i misread your report.
--
On 19/03/2015 14:45, Trent Forkert wrote:
On Thursday, 19 March 2015 at 11:18:29 UTC, Dicebot wrote:
Semantics analysis you can get by simply opening .d file in CDT
project is very limited compared to opening dub project because it
can't know the import paths for dependencies or pretty much
On 2015-03-18 12:14:01 +, Vladimir Panteleev said:
I've pushed support for DMD bootstrapping, so if you need to build
master now, build latest Digger from source. I'll make a binary release
after 2.067 is out.
I just tried it and get this here:
Entering 'phobos'
Entering 'tools'
error:
On 19/03/2015 11:18, Dicebot wrote:
On Wednesday, 18 March 2015 at 22:32:06 UTC, Trent Forkert wrote:
Arbitrary, contrived example (though not entirely unrealistic):
* a C(++) executable needs a static D library
* Said D library in turn uses a C(++) library
* All three of these are built as
https://issues.dlang.org/show_bug.cgi?id=8687
Marc Schütz schue...@gmx.net changed:
What|Removed |Added
CC||schue...@gmx.net
--
101 - 132 of 132 matches
Mail list logo