diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-07-05 06:12:27 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-07-05 06:12:27 -0300 |
commit | b44cba355e1e27521b436cf56ea726d419939b5b (patch) | |
tree | c9431ffec2f8c7c42c349bc24c9f5c58d9162c87 /gcc | |
parent | 5a387a2b8f58a238acfea6ec820a0fd44057a09a (diff) | |
download | gcc-b44cba355e1e27521b436cf56ea726d419939b5b.zip gcc-b44cba355e1e27521b436cf56ea726d419939b5b.tar.gz gcc-b44cba355e1e27521b436cf56ea726d419939b5b.tar.bz2 |
libstdc++: testsuite: cast getpid result
On vxworks, in kernel mode, getpid's return type is a pointer type, so
std::to_string on it fails overload resolution. Restore the type cast
from the original patch that suggested adding the pid.
for libstdc++-v3/ChangeLog
* testsuite/util/testsuite_fs.h (nonexistent_path): Convert
the getpid result to an integral type.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions