Re: com php-src: Fixed warning of no return in non-void funciton: Zend/zend_vm_def.h Zend/zend_vm_execute.h Zend/zend_vm_gen.php
| From: | Laruence | Date: | Fri, 14 Dec 2012 10:07:40 +0000 |
| Subject: | Re: com php-src: Fixed warning of no return in non-void funciton: Zend/zend_vm_def.h Zend/zend_vm_execute.h Zend/zend_vm_gen.php | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-70730@lists.php.net to get a copy of this message | ||
On Fri, Dec 14, 2012 at 5:40 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> Zend/zend_generators.c:734: warning: control reaches end of non-void function
>>
>> yes it's nothing difference , just make the compiler happy
>
> zend_error_noreturn already supposed to do that. Why it does not do it
> in your case? Which compiler do you use?
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2336.11.00)
thanks
>
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
--
Laruence Xinchen Hui
http://www.laruence.com/