digitalmars.D.bugs - excess warning?
- kurimura (8/8) Feb 10 2006 -----a.d
- =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= (5/15) Feb 16 2006 Confirmed with dmd 0.147 on linux. The problem is in the handling of the
-----a.d
int main(){
auto Object o=new Object;
return 0;
}
-----
dmd -w a.d
warning - a.d(1): function a.main no return at end of function
Feb 10 2006
kurimura wrote:
-----a.d
int main(){
auto Object o=new Object;
return 0;
}
-----
dmd -w a.d
warning - a.d(1): function a.main no return at end of function
Confirmed with dmd 0.147 on linux. The problem is in the handling of the
auto statement. Compiles fine without warnings.
--
Jari-Matti
Feb 16 2006








=?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= <jmjmak utu.fi.invalid>