bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP


From: Michael Elizabeth Chastain
Subject: Re: patch for gettextP.h, hppa2.0w-hp-hpux11.00, SWAP
Date: Tue, 16 Dec 2003 13:04:17 -0500 (EST)

> This is almost certainly a case of a compiler bug with HP's ansi c.

I think the compiler is fine.

Here is what's going on:

  gdb 6.0 has an old copy of intl/
  gdb 6.0 also has libiberty/ that was autoconf'ed with autoconf 2.13.
  libiberty/configure is the first configure script to run,
    so it checks for 'inline' and caches the result
  libiberty/configure checks for 'inline'
  libiberty/configure does not check for 'static inline'
  libiberty/configure decides that 'inline' is supported
  later on, intl/gettextP.h uses 'static inline'

gcc -std=iso9899:1990 does not allow 'static inline',
so I think that 'static inline' is not in the standard.

gdb 6.1 is going to have a new libiberty/configure that checks
for both 'inline' and 'static inline'.  This ought to disallow
'inline' on hpux 11.00 with the particular ansi c compiler that
you have.

As a separate issue, gdb has a version of intl/ from 1998.
That should not affect this problem because libiberty/ runs first
so the test in libiberty/configure for 'inline' matters.

Michael C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]