Comment 1 for bug 1157217

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Fixed in 56e1baac51bd705823f9dc8773af9f19eef4c9c5

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.