You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.
progval@ganymede:/tmp/BigCub(master)$ clang++ -Ofast -std=c++1y *.c++ -I.
In file included from bigcub.c++:7:
In file included from ./vmanip.h++:46:
./vmanip.t.h++:19:38: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize((sizeof(n) * CHAR_BIT) + 1);
^
./vmanip.t.h++:22:37: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize(sizeof(n) * CHAR_BIT);
^
./vmanip.t.h++:26:28: error: use of undeclared identifier 'CHAR_BIT'
for (; i < sizeof(n) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:46:46: error: use of undeclared identifier 'CHAR_BIT'
for (; (i < n.size()) && i < sizeof(T) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:50:48: error: use of undeclared identifier 'CHAR_BIT'
for (; n.back() == true && i < sizeof(T) * CHAR_BIT; ++i) {
^
5 errors generated.
In file included from tests.c++:16:
In file included from ./bigcub.h++:16:
In file included from ./vmanip.h++:46:
./vmanip.t.h++:19:38: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize((sizeof(n) * CHAR_BIT) + 1);
^
./vmanip.t.h++:22:37: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize(sizeof(n) * CHAR_BIT);
^
./vmanip.t.h++:26:28: error: use of undeclared identifier 'CHAR_BIT'
for (; i < sizeof(n) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:46:46: error: use of undeclared identifier 'CHAR_BIT'
for (; (i < n.size()) && i < sizeof(T) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:50:48: error: use of undeclared identifier 'CHAR_BIT'
for (; n.back() == true && i < sizeof(T) * CHAR_BIT; ++i) {
^
tests.c++:25:31: error: use of undeclared identifier 'ULLONG_MAX'
for (uintmax_t i = 0; i < ULLONG_MAX; ++i) {
^
tests.c++:177:40: error: use of undeclared identifier 'CHAR_BIT'
for (size_t i = 0; i < sizeof(T) * CHAR_BIT; ++i) {
^
7 errors generated.
In file included from vmanip.c++:10:
In file included from ./vmanip.h++:46:
./vmanip.t.h++:19:38: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize((sizeof(n) * CHAR_BIT) + 1);
^
./vmanip.t.h++:22:37: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize(sizeof(n) * CHAR_BIT);
^
./vmanip.t.h++:26:28: error: use of undeclared identifier 'CHAR_BIT'
for (; i < sizeof(n) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:46:46: error: use of undeclared identifier 'CHAR_BIT'
for (; (i < n.size()) && i < sizeof(T) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:50:48: error: use of undeclared identifier 'CHAR_BIT'
for (; n.back() == true && i < sizeof(T) * CHAR_BIT; ++i) {
^
5 errors generated.
The text was updated successfully, but these errors were encountered:
progval
changed the title
error: use of undeclared identifier 'CHAR_BIT'
use of undeclared identifiers 'CHAR_BIT' and 'ULLONG_MAX'
Feb 12, 2015
The text was updated successfully, but these errors were encountered: