tech-userlevel archive

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

Re: typedef int wchar_t;

On Thu, Nov 05, 2009 at 12:28:09AM +0000, Alexander Nasonov wrote:
> Joerg Sonnenberger wrote:
> > The part adding !defined(__cplusplus) is fine, the part using
> > !defined(__ICC) is not.
> I know it's not right. In fact, I didn't ask NetBSD developers to
> commit my patch as-is. I reported what worked. And __ICC is there
> because I often compile NetBSD and packages with gcc on the same
> box and I didn't want to hit a subtle bug.
> But if you believe __cplusplus guard is safe, I'd happy to revert
> my local changes.

I don't think we care much about ancient versions of G++ and if someone
does, it should take GCC version check, nothing else.


Home | Main Index | Thread Index | Old Index