Re: using long long and printf("%m") in debian
Am Freitag 18 August 2006 23:25 schrieb Michael Rasmussen:
> I have a package which relies on support for long long and using gcc
> does not give problems. The same goes for printf support of %m.
No, %m is, according to printf(2) manpage:
m (Glibc extension.) Print output of strerror(errno). No argument is
required.
So why isn't
printf("%s\n",strerror(errno));
used instead of
printf("%m\n");
?
Not like a problem in Debian GNU/* but you should tell upstream about
questionable coding style and portability.
> What
> various me is that these features are not supported in ISO C90. My
> question is if this is problem in Debian and if so should I make some
> checking in configure.ac and provide work-arounds in config.h?
Either it compiles in Debian or it doesn't.
HS
Reply to: