pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please review wip/nostromo



On Tue, Sep 13, 2011 at 12:37:01PM +0200, Thomas Klausner wrote:
> One issue that's left: It doesn't compile with the default compiler in
> NetBSD-current, gcc-4.5.3:
> 
> --- main.o ---
> cc1: warnings being treated as errors
> main.c: In function 'main':
> main.c:1328:6: error: array subscript is above array bounds
> main.c:1328:6: error: array subscript is above array bounds
This appears to be a bug in -O2 optimization. It happens in
FD_SET() which is a macro setting an array element. Also see
elsewhere http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949

> Can you please take a look?
CFLAGS+= -O "fixes" it, shall I commit that?

Adrian

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review


Home | Main Index | Thread Index | Old Index