[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mktime: need inline
From: |
Bruno Haible |
Subject: |
mktime: need inline |
Date: |
Mon, 12 Mar 2007 00:15:21 +0100 |
User-agent: |
KMail/1.5.4 |
Hi Paul,
lib/mktime.c has two inline function definitions. So it needs 'inline'
to be supported or defined away. Otherwise, on HP-UX 11, with HP-UX cc,
one gets errors:
cc -Ae -O -DHAVE_CONFIG_H -I. -I.. -g -c mktime.c
cc: "mktime.c", line 118: error 1000: Unexpected symbol: "int".
cc: "mktime.c", line 163: error 1000: Unexpected symbol: "time_t".
I'm applying this.
2007-03-11 Bruno Haible <address@hidden>
* m4/mktime.m4 (gl_PREREQ_MKTIME): Require AC_C_INLINE.
*** m4/mktime.m4 25 Jan 2007 03:25:54 -0000 1.29
--- m4/mktime.m4 11 Mar 2007 23:09:31 -0000
***************
*** 1,4 ****
! #serial 12
dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
--- 1,4 ----
! #serial 13
dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
***************
*** 221,224 ****
])
# Prerequisites of lib/mktime.c.
! AC_DEFUN([gl_PREREQ_MKTIME], [:])
--- 221,227 ----
])
# Prerequisites of lib/mktime.c.
! AC_DEFUN([gl_PREREQ_MKTIME],
! [
! AC_REQUIRE([AC_C_INLINE])
! ])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mktime: need inline,
Bruno Haible <=