snl-dakota / dakota-packages

The core TPL repo
1 stars 5 forks source link

Compilation fails bit_mask.hpp #6

Open PierrickPochelu opened 11 months ago

PierrickPochelu commented 11 months ago

Hello,

File location: JEGA/eddy/utilities/include


g++ -std=gnu++17 -o /tmp/a.out bit_mask.hpp
bit_mask.hpp: In member function ‘std::__cxx11::basic_string<_CharT2, _Traits2, _Alloc> eddy::utilities::bit_mask<NBITS, BS_T>::to_string() const’:
bit_mask.hpp:2174:25: error: expected primary-expression before ‘,’ token
 2174 |                 CharType, Traits, Alloc
      |                         ^
bit_mask.hpp:2174:33: error: expected primary-expression before ‘,’ token
 2174 |                 CharType, Traits, Alloc
      |                                 ^
bit_mask.hpp:2175:17: error: expected primary-expression before ‘>’ token
 2175 |                 >();
      |                 ^
bit_mask.hpp:2175:19: error: expected primary-expression before ‘)’ token
 2175 |                 >();
      |                   ^
bit_mask.hpp: In member function ‘std::__cxx11::basic_string<_CharT2, _Traits2, _Alloc> eddy::utilities::dynamic_bit_mask<BS_T>::to_string() const’:
bit_mask.hpp:2870:25: error: expected primary-expression before ‘,’ token
 2870 |                 CharType, Traits, Alloc
      |                         ^
bit_mask.hpp:2870:33: error: expected primary-expression before ‘,’ token
 2870 |                 CharType, Traits, Alloc
      |                                 ^
bit_mask.hpp:2871:17: error: expected primary-expression before ‘>’ token
 2871 |                 >();
      |                 ^
bit_mask.hpp:2871:19: error: expected primary-expression before ‘)’ token
 2871 |                 >();
      |                   ^