Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000007 [cparser] semantic tweak always 2008-12-03 15:34 2009-01-28 21:55
Reporter jeffz View Status public  
Assigned To Tron
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version
  Product Build
Summary 0000007: erroneous type error: error: destination type 'void' in 'return' is incompatible with type 'void'
Description void bar(void){return;}
void foo(void){return bar();}
int main(void){foo();}
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000001)
Tron (administrator)
2008-12-03 22:03

Thanks for the report. The semantic check for return has been corrected and adjusted to GCC behaviour in r24274.

- Issue History
Date Modified Username Field Change
2008-12-03 15:34 jeffz New Issue
2008-12-03 22:03 Tron Note Added: 0000001
2008-12-03 22:03 Tron Status new => assigned
2008-12-03 22:03 Tron Assigned To => Tron
2008-12-03 22:03 Tron Status assigned => resolved
2008-12-03 22:03 Tron Resolution open => fixed
2008-12-05 13:15 Tron Reproducibility have not tried => always
2008-12-05 13:15 Tron Category parser => semantic
2009-01-28 21:55 Matze Status resolved => closed


Mantis 1.1.5[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker