GNU bug report logs - #12116
merge from gnulib for extern-inline

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 1 Aug 2012 22:27:01 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <paul.eggert <at> verizon.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: lekktu <at> gmail.com, 12116 <at> debbugs.gnu.org
Subject: bug#12116: merge from gnulib for extern-inline
Date: Thu, 02 Aug 2012 14:20:13 -0700
On 08/02/2012 12:49 PM, Eli Zaretskii wrote:
> what's the story with the addition of stat-time.c,
> utimespec.c, and u64.c, which just include the respective headers?
> Where and how are these used, and for what purposes?

These .c files instantiate the inline functions defined in
their respective headers, by declaring them to be extern inline.
Without these .c files, if a compiler decides not to inline one
of those functions when compiling some other module, there might
not be any code that actually implements the function.




This bug report was last modified 12 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.