[Bug sanitizer/99476] 'PATH_MAX' was not declared in this scope
unlvsur at live dot com
gcc-bugzilla@gcc.gnu.org
Sun Jan 16 23:31:47 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99476
--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
../../../../../../../gcc/libsanitizer/asan/asan_linux.cpp: In function 'void
__asan::AsanCheckIncompatibleRT()':
../../../../../../../gcc/libsanitizer/asan/asan_linux.cpp:200:21: error:
'PATH_MAX' was not declared in this scope
200 | char filename[PATH_MAX];
| ^~~~~~~~
../../../../../../../gcc/libsanitizer/asan/asan_linux.cpp:201:35: error:
'filename' was not declared in this scope; did you mean 'rename'?
201 | MemoryMappedSegment segment(filename, sizeof(filename));
| ^~~~~~~~
| rename
The bug is still in the source
More information about the Gcc-bugs
mailing list