pkgsrc-Users archive

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

Re: 'state_not_recoverable' is not a member of 'std::errc' on clang build (was: clang-13.0.1nb1 build from pkgsrc 2022Q2 fails on NetBSD-9.2_STABLE (2022-07-01))



On Fri, Jul 22, 2022 at 09:18:09AM +0000, nia wrote:
> On Fri, Jul 22, 2022 at 10:02:48AM +0200, Hauke Fath wrote:
> > Well, provided the (newer) kernel has backward compatibility, what 
> > determines the "system version" is really the system headers and 
> > libraries, not the kernel API. So one might want to look at 
> > /etc/release, instead of uname output...
> 
> Great idea, thanks! Stealing it and committing it ;)

There's always __NetBSD_Version__ in sys/param.h:

#define __NetBSD_Version__      902000000       /* NetBSD 9.2 */

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index