OpenSSH
[Top] [All Lists]

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

To: openssh-unix-dev@mindrot.org
Subject: Re: (20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for release testing.)
From: Norihiko Murase <skeleten@shillest.net>
Date: Thu, 29 Mar 2007 18:08:03 +0900
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: (Your message of "Wed, 28 Mar 2007 15:13:07 +1000") <4609F963.6000900@zip.com.au>
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> <4609F963.6000900@zip.com.au>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
|From: Darren Tucker <dtucker@zip.com.au>
|Subject: (20070302) Warning messages on FreeBSD 4.11-RELEASE (Re: Call for 
release testing.)
|Message-ID: <4609F963.6000900@zip.com.au>
|Date: Wed, 28 Mar 2007 15:13:07 +1000
|
|>Thanks for that, and apologies for not responding at the time.

Considering to release the new portable version for 4.6 ?
    :D~~


|>Now that we're trying to include headers once only from the .c file, the 
...(snip)...
|>generates the warning.

Thank you very much for your explanation.

You have given two solutions:
------------------------------------------------------------
(1)
  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.
------------------------------
(2)
  An alternative would be to include "defines.h" after the system headers 
  but before the compat headers.
------------------------------------------------------------
I think
   * that the method (1) is really reliable but not elegant.
   * that the method (2) is elegant but dangerous, which
     might cause other kinds of trouble...


When I checked includes.h and openbsd-compat/openbsd-compat.h,
I noticed that these two headers do "#include" each other:
------------------------------------------------------------
%%%%% egrep -n '#include.*(includes|openbsd-compat)\.h' 
openbsd-compat/openbsd-compat.h includes.h
openbsd-compat/openbsd-compat.h:32:#include "includes.h"
includes.h:167:#include "openbsd-compat/openbsd-compat.h"
%%%%% 
------------------------------------------------------------
Is it done intentionally?


Thanks,
---
Norihiko Murase <skeleten@shillest.net>
_______________________________________________
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>