Verbose "invalid argument"?

Andrea Campanella emuboy85@gmail.com
Mon Nov 27 09:53:00 GMT 2017


Hello everyone,

I was wondering if is possible to force gcc to be more verbose in the
"invalid argument " error.

At the moment,  the output is something like that :

Invalid arguments '
Candidates are:
long int sendto(int, const void *, unsigned long int, int, const sockaddr
*, unsigned int)


Is it possible to show something like "argument number 3 : ‘uint32_t {aka
unsigned int}’ to ‘const void*’ "

Notice: I would like to have the number of the argument with the error,
would be possible?

I'm using gcc 5.

Thank you!


-- 
Andrea "emuboy" Campanella



More information about the Gcc-help mailing list