Re: [PATCH] provide alternatives for err, errx, warn and warnx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14-02-2011 17:50:43 +0100, Karel Zak wrote:
> > +# define err(E, FMT...) errmsg(1, E, 1, FMT)
> 
>  BTW, is it valid syntax for non-gcc compilers?

Nope, at least not for all.  It works with GCC and ICC, but if I recall
correctly not with e.g. Sun Studio compiler.  Although the latest
version was quite good at emulating GNU CC, so perhaps it does.

If ever necessary, this part can be reconsidered, and fixed in another
way.  For now, I guess it helps those who want to compile some libs from
util-linux, they won't likely be using Sun's CC, IMO.

Thanks,

-- 
Fabian Groffen
Gentoo on a different level
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux