Extern inline in <gmp.h>
Andreas Schwab
schwab@issan.informatik.uni-dortmund.de
Wed Mar 24 02:38:00 GMT 1999
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
More information about the Libc-hacker
mailing list