[dmd-internals] [D-Programming-Language/dmd] eaac7b: fix build breakage

Walter Bright walter at digitalmars.com
Tue Feb 28 01:56:46 PST 2012



On 2/28/2012 12:41 AM, Rainer Schuetze wrote:
>
> this line was reverted:
> +inline char *prettyident(Symbol *s) { return CPP ? cpp_prettyident(s) : s->Sident; }
>
> but it causes a link failure due to missing symbol cpp_prettyident. Where 
> should I put its implementation? dsymbol.c? Maybe it should be added to the D 
> source unconditionally, not only for _MSC_VER.

The thing is, CPP is 0. So it should never be calling cpp_prettyident. Other 
compilers optimize it away.

>
>>    M src/backend/cg87.c
>
> reverted the use of longdouble. If I read the includes correctly, it should be 
> defined in cdef.h for a C compiler aswell. Why should it not be used?

Not sure what happened there.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20120228/9292997b/attachment.html>


More information about the dmd-internals mailing list