Bug#320947: g++-4.0: invalid 'control reaches end of non-void function'

2005-08-02 Thread Falk Hueffner
retitle 320947 [PR 20624] invalid 'control reaches end of non-void function' tags 320947 + upstream forwarded 320947 http://gcc.gnu.org/PR20624 thanks This is PR 20624. -- Falk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTE

Processed: Re: Bug#320947: g++-4.0: invalid 'control reaches end of non-void function'

2005-08-02 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > retitle 320947 [PR 20624] invalid 'control reaches end of non-void function' Bug#320947: g++-4.0: invalid 'control reaches end of non-void function' Changed Bug title. > tags 320947 + upstream Bug#320947: [PR 20624] invalid &

Bug#320947: g++-4.0: invalid 'control reaches end of non-void function'

2005-08-02 Thread Diether Knof
Package: g++-4.0 Version: 4.0.1-2 compiling with '-Wall' gives in some cases the warning 'control reaches end of non-void function' for code of the following form if (a) return 10; else return 20; at the end of a function. The 3.3er version of g++ does not give the warning. At the end