R
Ryan Liu
All,
When I include <vector> head file in our application. It generates the
following following error when complileing.
In file included from
/opt/exp/gnu/sparc-sun-solaris2.8/include/c++/3.3.1/vector:72,
from stl_inc.h:8,
from Environment.h:5,
from Environment.cpp:1:
/opt/exp/gnu/sparc-sun-solaris2.8/include/c++/3.3.1/bits/stl_bvector.h:67:
error: `
CHAR_BIT' was not declared in this scope
/opt/exp/gnu/sparc-sun-solaris2.8/include/c++/3.3.1/bits/stl_bvector.h:67:
error: enumerator
value for `_M_word_bit' not integer constant
I don't know why it generate this error. Becuase you know stl_bvector.h is
system file, I can't change it.
Would you mind giving some suggestion?:
Thank you very much in advance.
Ryan
When I include <vector> head file in our application. It generates the
following following error when complileing.
In file included from
/opt/exp/gnu/sparc-sun-solaris2.8/include/c++/3.3.1/vector:72,
from stl_inc.h:8,
from Environment.h:5,
from Environment.cpp:1:
/opt/exp/gnu/sparc-sun-solaris2.8/include/c++/3.3.1/bits/stl_bvector.h:67:
error: `
CHAR_BIT' was not declared in this scope
/opt/exp/gnu/sparc-sun-solaris2.8/include/c++/3.3.1/bits/stl_bvector.h:67:
error: enumerator
value for `_M_word_bit' not integer constant
I don't know why it generate this error. Becuase you know stl_bvector.h is
system file, I can't change it.
Would you mind giving some suggestion?:
Thank you very much in advance.
Ryan