[dmd-internals] Bring constructor declarations back in C++ header files

Johan Engelen via dmd-internals dmd-internals at puremagic.com
Sun Jan 29 13:43:45 PST 2017

Hi all,
  Why were the constructor declarations removed in the C++ header files in
It leads to massive warning spam, and enables default

Please enable C++ warnings in your DMD development setups. There are other
serious errors in the header files that would have been easily caught with
warnings on, e.g.:
../ddmd/attrib.h:48:17: warning: 'AttribDeclaration::kind' hides overloaded
virtual function [-Woverloaded-virtual]
    const char *kind() const;
../ddmd/dsymbol.h:214:25: note: hidden overloaded virtual function
'Dsymbol::kind' declared here: different qualifiers (none vs const)
    virtual const char *kind();

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20170129/36a88154/attachment.html>

More information about the dmd-internals mailing list