For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > November 2005 > cvs: ZendEngine2 / zend.h









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 / zend.h
Antony Dovgal

2005-11-25, 7:55 am

tony2001 Fri Nov 25 07:25:22 2005 EDT

Modified files:
/ZendEngine2 zend.h
Log:
ICC doesn't support __attribute__ for pointers


http://cvs.php.net/diff.php/ZendEng...3&r2=1.304&ty=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.303 ZendEngine2/zend.h:1.304
--- ZendEngine2/zend.h:1.303 Tue Nov 15 11:50:07 2005
+++ ZendEngine2/zend.h Fri Nov 25 07:25:22 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/

-/* $Id: zend.h,v 1.303 2005/11/15 16:50:07 dmitry Exp $ */
+/* $Id: zend.h,v 1.304 2005/11/25 12:25:22 tony2001 Exp $ */

#ifndef ZEND_H
#define ZEND_H
@@ -172,7 +172,7 @@
# define ZEND_ATTRIBUTE_FORMAT(type, idx, first)
#endif

-#if ZEND_GCC_VERSION >= 3001
+#if ZEND_GCC_VERSION >= 3001 && !defined(__INTEL_COMPILER)
# define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first) __attribute__ ((format(type, idx, first)))
#else
# define ZEND_ATTRIBUTE_PTR_FORMAT(type, idx, first)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com