OpenSSH
[Top] [All Lists]

Re: (20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for re

To: Norihiko Murase <skeleten@shillest.net>
Subject: Re: (20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for release testing.)
From: Darren Tucker <dtucker@zip.com.au>
Date: Wed, 28 Mar 2007 15:13:07 +1000
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <20070328114618.5e58d5%skeleten@shillest.net>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <45E6CCF6.2010501@zip.com.au> <20070303032925.69f425%skeleten@shillest.net> <20070328114618.5e58d5%skeleten@shillest.net>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Norihiko Murase wrote:
> I did send the following message to this ML:
[...]

Thanks for that, and apologies for not responding at the time.

[...]
> +#if 0        /* for FreeBSD 4.11-RELEASE */
>  #ifndef MAXSYMLINKS
>  # define MAXSYMLINKS 5
>  #endif
> +#endif       /* for FreeBSD 4.11-RELEASE */
[...]
> I wonder what the best solution is...

Now that we're trying to include headers once only from the .c file, the 
  system includes where these are defined are no longer in includes.h 
and thus this kind of thing isn't defined when defines.h is read.  They 
get defined in defines.h and again by the system headers, which 
generates the warning.

One way I can see of dealing with these is to have configure check the 
settings at configure time and put them in config.h.

An alternative would be to include "defines.h" after the system headers 
but before the compat headers.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>