This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning


*** TEST RESULTS FOR COMMIT 6a8796db3691b9a53dc5475eaec5388bc1af115d ***

Author: Uros Bizjak <ubizjak@gmail.com>
Branch: master
Commit: 6a8796db3691b9a53dc5475eaec5388bc1af115d

Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning

	* getruntime.c (RUSAGE_SELF): Define if not already defined.
	(get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225614 138bc75d-0d04-0410-961f-82ee72b054a4


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