Changeset 3ddc586 in mainline for uspace/lib/c/test/string.c
- Timestamp:
- 2023-08-04T09:19:45Z (18 months ago)
- Branches:
- ticket/834-toolchain-update
- Children:
- 4dbcdf3
- Parents:
- 0989bc4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/test/string.c
r0989bc4 r3ddc586 801 801 #pragma GCC diagnostic push 802 802 // Intentionally checking it works with _longer_ size than actual 803 #if defined(__GNUC__) && (__GNUC__ >= 11) 803 804 #pragma GCC diagnostic ignored "-Wstringop-overread" 805 #endif 804 806 char *d = strndup("abc", 5); 805 807 #pragma GCC diagnostic pop
Note:
See TracChangeset
for help on using the changeset viewer.