Current 6.8 git build issues on HP-UX

Roumen Petrov openssh at roumenpetrov.info
Fri Feb 27 07:14:18 AEDT 2015


Darren Tucker wrote:
> On Tue, Feb 24, 2015 at 7:37 PM, Tim Rice <tim at multitalents.net> wrote:
>> | does replacing "inline" with "__inline__" work?  Failing that, removing
>> | inline entirely?
>>
>> I just changed __inline__ to inline so we don't want to go that direction.
>
> yeah but if it worked we could have done #ifdef whatever #define __inline__
> inline ... so they both worked
>
>
>> We already use "static inline void" in openbsd-compat/arc4random.c.
>> Puzzling.
>>
> Now that's weird.  Also "static inline int" in sshbuf.c and addrmatch.c.
>
> Oh!  The ones that work #include "includes.h" and cipher-aesctr,c doesn't.
>   "inline" must be defined in the headers somewhere (the system ones, it's
> not in ours).

AC_C_INLINE is configure macro that deal with inline.
Then ensure that config.h is included into C code.
indirectly it is from "includes.h"


Regards,
Roumen

-- 
Get SSH with X.509 certificate support
http://roumenpetrov.info/openssh/



More information about the openssh-unix-dev mailing list