[forwarded from https://launchpad.net/bugs/332115] While the documentation states that vasprintf and asprintf belong to the the <stdio.h> header, the C++ header <cstdio> doesn't contain any definition to them, thus forcing one to also #include <stdio.h>
These are GNU extensions not appropriate for a ISO C++ header file (the standard lists which functions are to be made available in the std namespace). So at most they could be added to the __gnucxx namespace?
This is definitely not a bug. Note, in our implementation <stdio.h> is included anyway from <cstdio> as an implementation detail.
*** Bug 40203 has been marked as a duplicate of this bug. ***