On 3 November 2017 at 19:07, mahmood n via gcc-help wrote: > Hi, > A code is fine with gcc-4.8. However, with gcc-5.4, I get Are you sure you mean 5.4 not 6.4? The behaviour changed in GCC 6, see https://gcc.gnu.org/gcc-6/porting_to.html#iostream-conversions And are you sure it's fine? Previously it printed a void* not the command that failed. That is not "fine", it's a bug.