Re: modulus redux

2009-07-12 Thread TomD
of \ccbox{true ? a : b} (see~\S~\ref{sec:conditional-operator}). Isn't (true?a:b) always (a)? TomD

Re: minimal evaluation

2009-04-07 Thread TomD
. :-) Ciao TomD

Re: minimal evaluation

2009-04-06 Thread TomD
  // normal code goes here If an argument is null, the IsNull() will return false. Internally it will be logged to console as well. Make it return true then. An or is true when it hits the first true expression. Ciao TomD

Re: Link Problem

2009-04-04 Thread TomD
TomD Wrote: After a couple of miniutes googling around this seems to be a bug in ld. Some aritlcles from 2007 or so recommend to downgrade to binutils 2.15 from 2.16. *If* your installed binutils is 2.16, you may give it a try. Ciao Tom After a bit harder googling I found http

Re: Link Problem

2009-04-03 Thread TomD
After a couple of miniutes googling around this seems to be a bug in ld. Some aritlcles from 2007 or so recommend to downgrade to binutils 2.15 from 2.16. *If* your installed binutils is 2.16, you may give it a try. Ciao Tom

Re: Link Problem

2009-04-02 Thread TomD
not a.o b.o dmd also uses gcc (and hence ld) as linker, so if it is an ld problem, it'll stay. The behavior you mention above is only true for library files, AFAIK, not for objects. You should have all objects before the libraries, though. Ciao TomD

Re: Link Problem

2009-04-02 Thread TomD
, e.g. inlined but referenced in an external modulue? Can you rebuild all without optimization? Ciao TomD (PS: Thanks to Fawzi, I did not know the grouping command of ld)

Re: State of Play

2009-03-26 Thread TomD
, and then you need to revise the downstream libraries. That takes some time. This no question of dead-end. Ciao TomD

Re: Benchmark of try/catch

2009-03-23 Thread TomD
bearophile Wrote: [...] And I'd also like to know why using printf changes the situation so much. After a first glimpse with profiling the difference is that printf pulls in stdarg, whereas writfln doesn't. Which means we replace one oddity with another. Ciao Tom D.

Re: Response files

2009-03-21 Thread TomD
Frank Benoit Wrote: [...] This seems to be enough, however, 32k/64k are not. There is a related bug, because the dmd response file workaround is not working with 64k, see http://d.puremagic.com/issues/show_bug.cgi?id=2705 Just out of curiosity: With which kind of project do you hit this

Re: GUI Design (DWT) with XML

2009-03-08 Thread TomD
in XML mode is already GUI enough Other question I have is -- doesn't SWT already have something for creating GUI layouts? Hmm, nothing that Frank so far commented about. Ciao TomD

GUI Design (DWT) with XML

2009-03-05 Thread TomD
is to wrap all widgets into a class that implements a configure method for each widget. During load of the XML tree, the widget tree is built in parallel. I have included a couple of examples, so you get the idea. Feedbackbug reports welcome. Ciao TomD

Re: exe file size

2008-11-16 Thread TomD
John Reimer Wrote: [...] Thanks for the example. I've avoided makefiles in the past because, despite their power and flexibility, they are too complicated for what amounts to a fairly simple task in most cases. Granted, once they are created for a project, there shouldn't be much need to