Writing Bug-Free C/D Code

Luís Marques luismarques at gmail.com
Mon Mar 19 09:57:24 PDT 2007


I also had problems with Flectioned and DMD 1.007.
Please see the post on http://www.dsource.org/forums/viewtopic.php?t=2512
from March 6.

Luís

Thomas Kuehne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Henning Hasemann schrieb am 2007-03-19:
>> On Mon, 19 Mar 2007 08:41:48 +0000 (UTC)
>> Thomas Kuehne <thomas-dloop at kuehne.cn> wrote:
>>
>>>> 2.)
>>>> Another thing would be easy support for stack traced exceptions.
>>>> I tried flectioned last weak or so (just for this purpose) but it
>>>> didnt want to compile with my code (I think I was still on dmd-1.007 so
>>>> it might have been a bug there). I think STE's are of use
>>>> to many developers so they should be put into phobos or so.
>>> Exactly what problems did you encounter?
>> It does not correctly recognise that I'm on phobos I guess because
>> when compiling I get:
>>
>> flectioned.d(78): module Vararg cannot read file 'tango/core/Vararg.d'
>>
>> I use dmd-1.009 and rebuild-0.12 for compiling. OS is linux.
>> dmd -c flectioned.d runs fine, so maybe rebuild is the real problem?
> 
> Do you use the original Phobos?
> 
> Line 65 checks if Object.toUtf8 is defined wich would indicate that
> Tango is installed. Failing to import tango.core.Vararg however
> indicates that Tango isn't installed.
> 
> Thomas
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iD8DBQFF/ocSLK5blCcjpWoRAsoEAJwM1dz8BdczPa1pM++8Trx/bWpipQCgpfpx
> z8H3iAh1LAKbRrsKiF8BJxE=
> =eoj2
> -----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list