|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D.gnu - compiler does not complain no required return value
digitalmars.D.bugs/4837 Instead, the generated binary will abort at run-time and give misleading message: int f() { return 0; // gdc Error: AssertError Failure rtn.d(3); dmd Aborted } int main(char[][] args) { f(); return 0; } Aug 26 2005
Aug 26 2005
z gg.com wrote:digitalmars.D.bugs/4837 Aug 26 2005
Thank you for confessing your sin. http://smjg.port5.com/faqs/usenet/xpost.html Aug 26 2005
z gg.com wrote:Thank you for confessing your sin. http://smjg.port5.com/faqs/usenet/xpost.html Aug 31 2005
|