mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
cbb085f1db
/wrkdirs/usr/ports/misc/openvdb/work/openvdb-7.1.0/openvdb/points/AttributeSet.h:461:60: error: 'CHAR_BIT' was not declared in this scope 461 | static size_t groupBits() { return sizeof(GroupType) * CHAR_BIT; } | ^~~~~~~~ /wrkdirs/usr/ports/misc/openvdb/work/openvdb-7.1.0/openvdb/points/AttributeSet.h:1:1: note: 'CHAR_BIT' is defined in header '<climits>'; did you forget to '#include <climits>'? +++ |+#include <climits> 1 | // Copyright Contributors to the OpenVDB Project
11 lines
270 B
C++
11 lines
270 B
C++
--- openvdb/openvdb/points/AttributeSet.h.orig 2020-12-14 01:40:20 UTC
|
|
+++ openvdb/openvdb/points/AttributeSet.h
|
|
@@ -14,6 +14,7 @@
|
|
#include <openvdb/version.h>
|
|
#include <openvdb/MetaMap.h>
|
|
|
|
+#include <climits>
|
|
#include <limits>
|
|
#include <memory>
|
|
#include <vector>
|