Skip to content

TestDriver: Replace strncpy with strcpy

Sander Vrijders requested to merge sandervrijders/cmake:strncpy into master

GCC 8.1.0 now gives an error if strncpy is called with a bound depending on the length of the source argument. This replaces the strncpy with strcpy as the length is known a priori.

Fixes: #18038 (closed)
Topic-rename: create_test_sourcelist-strcpy

Edited by Brad King

Merge request reports

Loading