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

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();
```

Thanks,
  Johan
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to