On 26/09/2022 18:58, Markus Moessner wrote:
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?
I have a very long TODO list.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel