This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


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

Re: Extern inline in <gmp.h>


Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:

|> We define in stdlib/gmp.h the functions (note that there's a define
|> adding the leading underscores) __mpn_add_1, __mpn_add, __mpn_sub_1,
|> __mpn_sub as extern inline and define these functions in
|> sysdeps/generic/inlines.c if inlining fails but don't export these
|> functions.  You'll notice this problem e.g. when compiling glibc
|> without inlining functions during make check:

Which test is affected?  Since <gmp.h> is an internal header those
functions are strictly internal, and thus should not be exported.  Instead
the test program should be linked explicitly against inlines.o.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org


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