[#7708] Bug in libsnmp-ruby1.8 — Hadmut Danisch <hadmut@...>

Hi,

8 messages 2006/04/11
[#7709] Re: Bug in libsnmp-ruby1.8 — Eric Hodel <drbrain@...7.net> 2006/04/11

On Apr 11, 2006, at 6:23 AM, Hadmut Danisch wrote:

[#7770] Re: possible defect in array.c — "Brown, Warren" <warrenbrown@...>

> rb_range_beg_len (in range.c) does set beg and len.

13 messages 2006/04/26
[#7771] Re: possible defect in array.c — "Pat Eyler" <rubypate@...> 2006/04/26

On 4/26/06, Brown, Warren <warrenbrown@aquire.com> wrote:

Re: possible defect in array.c

From: "Pat Eyler" <rubypate@...>
Date: 2006-04-27 03:30:50 UTC
List: ruby-core #7784
On 4/26/06, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Hi,
>
> 2006/4/27, Sam Roberts <sroberts@uniserve.com>:
> > Are you sure? It appears to support non-standard extensions in both C99
> > and C89 dialects. I'm not complaining, the extensions are useful, but
> > just because gcc compiled it doesn't mean its standard C, of any
> > particular dialect.
>
> Well, you're correct it has its own extensions not only C99 and C89
> standards, and you need -pedaintic-errors option to let gcc be strict
> with them.  But it doesn't croak if -std=c99 is also given, and I
> thought it is the default in gcc4, IIRC.
> I meant that change about the based standards.
>

So, does it make more sense to go with Jacob's suggestion, or to move
the assignment to the end of the variable declarations.   Either way, it's
a simple change that knocks out one more potential issue.



> --
> Nobu Nakada
>
>


In This Thread