This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fixinclude patch for HP-UX


Steve Ellcey wrote:
This patch deals with a bug in the HP-UX header files where the sendfile
and sendpath routines are declared extern and then static.  This only
happens when compiling with -D_FILE_OFFSET_BITS=64, so it doesn't come
up much and it has been fixed in the next release of the OS so this fix
is restricted to 11.11 and 11.2* HP-UX targets as those are the only
versions that have the bug.  I will check it on ToT unless there are
objections.

Mark, is this patch OK for the 4.2 branch?  It is HP-UX specific and it
is a regression in the sense that 3.* GCC's would give a warning on
"extern foo(); static foo() {}" while 4.* GCC's give an error and thus
make it impossible to compile the header.

Yes, this is OK for 4.2, once committed to mainline.


--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]