Re: New Stomp extension
| From: | Israel Ekpo | Date: | Wed, 28 Oct 2009 18:15:11 +0000 |
| Subject: | Re: New Stomp extension | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6744@lists.php.net to get a copy of this message | ||
On Wed, Oct 28, 2009 at 1:48 PM, Antony Dovgal <tony@daylessday.org> wrote:
> On 28.10.2009 20:45, Pierrick Charron wrote:
> > Thank you Israel,
> >
> > I'll install windows and VC++ on one of my machine this week to
> > compile it and help me solve all the windows problems.
>
> I'm sure GCC with -Wall will show you similar warnings.
>
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime statistics for PHP
>
I actually did it on Ubuntu 8.04.3 with gcc 4.2.4
You just need to add the following to your CFLAG variable :
-g -Wall -Werror -Wc++-compat -Wdeclaration-after-statement -Wshadow
-Wunreachable-code -fdiagnostics-show-location=every-line -Wc++-compat
-Wpointer-sign -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waddress
This will stop the compilation process if there is a warning
To proceed just remove the -Werror option, if you just need to see the
warnings.
--
"Good Enough" is not good enough.
To give anything less than your best is to sacrifice the gift.
Quality First. Measure Twice. Cut Once.