Re: HEAD does not compile with GCC 4.0.1

From: Date: Thu, 16 Jun 2005 16:19:48 +0000
Subject: Re: HEAD does not compile with GCC 4.0.1
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-16740@lists.php.net to get a copy of this message
Hello Andi, they funnily added the ability to specify the compiler 'flavor'. Meaning you are able to specify how the compiler should treat your code in terms of c-spcs and compiler additions being used to spcifically force certain behavior of a certain version. Since we are developing against C99 we might want to specify that flavor. This is also a good idea because they say that as soon as they have full c99 support that will be the default. marcus Monday, June 13, 2005, 5:22:12 PM, you wrote: > Dmitry, > Maybe for the beta we should have an #if ZEND_GCC_VERSION > of the 4.0.1 > version number so that it compiles. In parallel, we should try and get in > touch with gcc developers list and see why they broke this. > What do you think? > Andi > At 11:59 AM 6/13/2005 +0300, Jani Taskinen wrote: >> See also >> http://bugs.php.net/bug.php?id=33212&edit=1 >> >> --Jani >> >>On Mon, 13 Jun 2005, Dmitry Stogov wrote: >> >>>Hi, >>> >>>Is GCC 4.0.1 already released? >>>Did you try GCC 4.0.0? >>> >>>Something was changed in GCC. >>>The error message is proper, but I don't understand why this became a error. >>>Probably I'll need to take advice from somebody of GCC developers. >>> >>>Thanks. Dmitry. >>> >>>>-----Original Message----- >>>>From: news [mailto:news@sea.gmane.org] On Behalf Of Sebastian Bergmann >>>>Sent: Monday, June 13, 2005 10:39 AM >>>>To: internals@lists.php.net >>>>Subject: [PHP-DEV] HEAD does not compile with GCC 4.0.1 >>>> >>>> >>>> /usr/local/src/php/php-5.1/Zend/zend_execute.c:47: >>>> error: 'zend_error_noreturn' aliased to external symbol >>>> 'zend_error' >>>> >>>>-- >>>>Sebastian Bergmann >>>>http://www.sebastian-bergmann.de/ >>>>GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 >>>>C514 B85B 5D69 >>>> >>>>-- >>>>PHP Internals - PHP Runtime Development Mailing List >>>>To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>> >> >>-- >>Donate @ http://pecl.php.net/wishlist.php/sniper >> >>-- >>PHP Internals - PHP Runtime Development Mailing List >>To unsubscribe, visit: http://www.php.net/unsub.php -- Best regards, Marcus mailto:mail@marcus-boerger.de

« previous php.internals (#16740) next »