Am 26.09.2022 um 18:58 schrieb Markus Moessner:
The second one is triggered by the function getrusage in
rtemsbsd/include/bsd/sys/ressource.h.
There is a another declaration in include/sys/ressource.h provided with the
toolchain.
Now, one has C Linkage the other one C++ Linkage which leads to a conflict. I
ve simply made the one in libbsd invisible to the C++ compiler.
This is a bug in Newlib (newlib/libc/include/sys/resource.h). This file
needs the C++ extern "C" stuff.
Okay, I ll re-submit the first patch. On the second one, are you submitting it
to newlib or do you expect me to do that?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
I´ve submitted the patch to newlib.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel