Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Otto Moerbeek
On Thu, Jan 26, 2012 at 08:09:13PM +0100, Peter J. Philipp wrote: > On Thu, Jan 26, 2012 at 07:22:37PM +0100, Otto Moerbeek wrote: > > > cc -Wall -g -I/usr/local/include/db4 -c reply.c > > > reply.c: In function 'create_anyreply': > > > reply.c:2975: warning: array size (2) smaller than bound l

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Peter J. Philipp
On Thu, Jan 26, 2012 at 07:22:37PM +0100, Otto Moerbeek wrote: > > cc -Wall -g -I/usr/local/include/db4 -c reply.c > > reply.c: In function 'create_anyreply': > > reply.c:2975: warning: array size (2) smaller than bound length (4) > > reply.c:2975: warning: array size (2) smaller than bound leng

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Otto Moerbeek
On Thu, Jan 26, 2012 at 06:20:44PM +0100, Peter J. Philipp wrote: > Hi, > > I have a vm that I upgraded to 5.1-beta last week some time. One of my > software's is getting a compiler warning now that it didn't get in 5.0. > > --- > cc -Wall -g -I/usr/local/include/db4 -c reply.c > reply.c: In

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Peter J. Philipp
On Thu, Jan 26, 2012 at 07:03:39PM +0100, Otto Moerbeek wrote: > > > > http://wildcarddns.cvs.sourceforge.net/viewvc/wildcarddns/wildcarddnsd/reply.c?view=log > > Which revision are you using? > > -Otto Hi Otto, I'm at HEAD with this, it requires berkeley db 4.6 (or higher) if you are wa

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Otto Moerbeek
On Thu, Jan 26, 2012 at 06:20:44PM +0100, Peter J. Philipp wrote: > Hi, > > I have a vm that I upgraded to 5.1-beta last week some time. One of my > software's is getting a compiler warning now that it didn't get in 5.0. > > --- > cc -Wall -g -I/usr/local/include/db4 -c reply.c > reply.c: In

Re: 5.1-beta compiler warning confuses me

2012-01-26 Thread Christiano F. Haesbaert
On 26 January 2012 15:20, Peter J. Philipp wrote: > Hi, > > I have a vm that I upgraded to 5.1-beta last week some time. One of my > software's is getting a compiler warning now that it didn't get in 5.0. > > --- > cc -Wall -g -I/usr/local/include/db4 -c reply.c > reply.c: In function 'create_

5.1-beta compiler warning confuses me

2012-01-26 Thread Peter J. Philipp
Hi, I have a vm that I upgraded to 5.1-beta last week some time. One of my software's is getting a compiler warning now that it didn't get in 5.0. --- cc -Wall -g -I/usr/local/include/db4 -c reply.c reply.c: In function 'create_anyreply': reply.c:2975: warning: array size (2) smaller than bou