digitalmars.D.bugs - [Bug 89] New: -H option generates bad code for pragma(msg)
- d-bugmail puremagic.com (32/32) Apr 06 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=89
- d-bugmail puremagic.com (9/9) May 25 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=89
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 digitalmars.com
ReportedBy: sean 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>
--
Apr 06 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=89
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed 0.158
--
May 25 2006








d-bugmail puremagic.com