Steffen Nurpmeso wrote in
 <20220608135836.mb7un%[email protected]>:
 ...
 |Yu, Mingli wrote in
 | <[email protected]>:
 ||On 6/8/22 12:18 AM, Steffen Nurpmeso wrote:
 ||> [email protected] wrote in
 ||>   <[email protected]>:
 ||>|| 6_64-wrs-linux/12.1.0/ld: mx-047.o: in function `a_nm_alias_expand':
 ||>|| /usr/src/debug/s-nail/14.9.24-r0/s-nail-14.9.24/src/mx/names.c:308: \
 ||>|| undefined reference to `su_cs_dict_lookup'
 ||>   ...
 ||>|| 36: undefined reference to `su_mem_get_can_book'
 ||>|  collect2: error: ld returned 1 exit status
 ...
 ||> diff --git a/include/su/code.h b/include/su/code.h
 ...
 |Thanks for reporting the issue, i will change code.h to simply
 |always use the gcc-specific way of inlining functions!

Actually i had to change it again after running into issues.
So i follow your initial suggestion and use the code path we have
for clang and pcc (simply use "static inline"), with just the
always_inline thing for gcc >3.1.
Simplifies.

Thank you again.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to