[Bug 89] New: -H option generates bad code for pragma(msg)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 6 12:55:45 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=89
Summary: -H option generates bad code for pragma(msg)
Product: D
Version: 0.152
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: sean at f4.ca
C:\code\d\bugs>cat 152_1.d
template templ( T )
{
void templ( T val )
{
pragma( msg, "Invalid destination type." );
}
}
C:\code\d\bugs>dmd -H -c 152_1.d
C:\code\d\bugs>cat 152_1.di
// D import file generated from '152_1.d'
template templ(T)
{
void templ(T val)
{
PragmaStatement::toCBuffer()
}
}
C:\code\d\bugs>
--
More information about the Digitalmars-d-bugs
mailing list