We cannot change the foreign-*-parser.c files because those are auto-generated. But that would be a good fix anyway, because ICC actually does provide a version of stpcpy, but does not provide a signature in the string.h header file (or anywhere else).
We already had a check for stpcpy in igraph, and also a replacement if not available, but we tested the library not the header. So what happened was that the test passed as stpcpy was available, but then its signature was wrong because it wasn't in the headers, and this caused errors.
Now we test for the signature in the header as well, and provide a signature if it is missing, so it should be all good.
Fixed in 56e1baac51bd705 823f9dc8773af9f 19eef4c9c5
We cannot change the foreign-*-parser.c files because those are auto-generated. But that would be a good fix anyway, because ICC actually does provide a version of stpcpy, but does not provide a signature in the string.h header file (or anywhere else).
We already had a check for stpcpy in igraph, and also a replacement if not available, but we tested the library not the header. So what happened was that the test passed as stpcpy was available, but then its signature was wrong because it wasn't in the headers, and this caused errors.
Now we test for the signature in the header as well, and provide a signature if it is missing, so it should be all good.