ReadParallel.cpp: In member function 'moab::ErrorCode moab::ReadParallel::load_file(const char**, int, const EntityHandle*, int, std::string&, std::vector&, bool, bool, std::vector&, const moab::FileOptions&, const moab::ReaderIface::SubsetList*, moab::TagInfo* const*, int, bool, int, int, int, int, int, int)': ReadParallel.cpp:473:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ReadParallel.cpp:476:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (MB_SUCCESS != tmp_result) break; ^~ src/file-desc.c: In function 'get_tag_desc': src/file-desc.c:269:9: warning: this statement may fall through [-Wimplicit-fallthrough=] ++valsize; ^~~~~~~~~ src/file-desc.c:270:7: note: here case 4: ^~~~ src/file-desc.c:274:9: warning: this statement may fall through [-Wimplicit-fallthrough=] ++valsize; ^~~~~~~~~ src/file-desc.c:275:7: note: here case 6: ^~~~ src/file-desc.c:276:9: warning: this statement may fall through [-Wimplicit-fallthrough=] ++valsize; ^~~~~~~~~ src/file-desc.c:277:7: note: here case 7: ^~~~ src/file-desc.c:278:9: warning: this statement may fall through [-Wimplicit-fallthrough=] ++valsize; ^~~~~~~~~ src/file-desc.c:279:7: note: here case 8: ^~~~ example/validate.c: In function ‘main’: example/validate.c:268:8: warning: ‘*((void *)&srange+16)’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (file_id >= ranges[0] && (file_id - ranges[0]) < ranges[1]) ^ example/validate.c:1000:8: note: ‘*((void *)&srange+16)’ was declared here long srange[2]; ^~~~~~ example/validate.c:268:30: warning: ‘*((void *)&srange+24)’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (file_id >= ranges[0] && (file_id - ranges[0]) < ranges[1]) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ example/validate.c:1000:8: note: ‘*((void *)&srange+24)’ was declared here long srange[2]; ^~~~~~ ReadABAQUS.cpp: In destructor 'virtual moab::ReadABAQUS::~ReadABAQUS()': ReadABAQUS.cpp:108:12: error: no match for 'operator!=' (operand types are 'long int' and 'std::ifstream {aka std::basic_ifstream}') if (NULL != abFile) ^ ReadABAQUS.cpp:108:12: note: candidate: operator!=(long int, int) ReadABAQUS.cpp:108:12: note: no known conversion for argument 2 from 'std::ifstream {aka std::basic_ifstream}' to 'int' In file included from ReadABAQUS.hpp:210:0, from ReadABAQUS.cpp:23: ../../src/moab/Range.hpp:833:13: note: candidate: bool moab::operator!=(const moab::Range&, const moab::Range&) inline bool operator!=( const Range& r1, const Range& r2 ) ^~~~~~~~ ../../src/moab/Range.hpp:833:13: note: no known conversion for argument 1 from 'long int' to 'const moab::Range&' In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/functional:58:0, from ../../src/moab/Interface.hpp:49, from ReadABAQUS.cpp:33: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h:788:5: note: candidate: template bool std::operator!=(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&) operator!=(nullptr_t, const function<_Res(_Args...)>& __f) noexcept ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h:788:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: 'std::ifstream {aka std::basic_ifstream}' is not derived from 'const std::function<_Res(_ArgTypes ...)>' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/functional:58:0, from ../../src/moab/Interface.hpp:49, from ReadABAQUS.cpp:33: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h:782:5: note: candidate: template bool std::operator!=(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t) operator!=(const function<_Res(_Args...)>& __f, nullptr_t) noexcept ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h:782:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::function<_Res(_ArgTypes ...)>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/iterator:66:0, from ../../src/moab/Range.hpp:167, from ReadABAQUS.hpp:210, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stream_iterator.h:137:5: note: candidate: template bool std::operator!=(const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&, const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>&) operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Dist>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stream_iterator.h:137:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::istream_iterator<_Tp, _CharT, _Traits, _Dist>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h:48:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h:37, from /opt/rh/devtoolset-7/root/usr/include/c++/7/ios:44, from /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream:38, from /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream:39, from ReadABAQUS.hpp:205, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h:210:5: note: candidate: template bool std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&) operator!=(const istreambuf_iterator<_CharT, _Traits>& __a, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h:210:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::istreambuf_iterator<_CharT, _Traits>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h:46:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/ios:42, from /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream:38, from /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream:39, from ReadABAQUS.hpp:205, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:331:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_condition&) operator!=(const error_condition& __lhs, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:331:3: note: no known conversion for argument 1 from 'long int' to 'const std::error_condition&' /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:327:3: note: candidate: bool std::operator!=(const std::error_condition&, const std::error_code&) operator!=(const error_condition& __lhs, const error_code& __rhs) noexcept ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:327:3: note: no known conversion for argument 1 from 'long int' to 'const std::error_condition&' /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:323:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_condition&) operator!=(const error_code& __lhs, const error_condition& __rhs) noexcept ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:323:3: note: no known conversion for argument 1 from 'long int' to 'const std::error_code&' /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:319:3: note: candidate: bool std::operator!=(const std::error_code&, const std::error_code&) operator!=(const error_code& __lhs, const error_code& __rhs) noexcept ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error:319:3: note: no known conversion for argument 1 from 'long int' to 'const std::error_code&' In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:62:0, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multimap.h:1085:5: note: candidate: template bool std::operator!=(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&) operator!=(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multimap.h:1085:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::multimap<_Key, _Tp, _Compare, _Alloc>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61:0, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:1419:5: note: candidate: template bool std::operator!=(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&) operator!=(const map<_Key, _Tp, _Compare, _Alloc>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:1419:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::map<_Key, _Tp, _Compare, _Alloc>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:63:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:1423:5: note: candidate: template constexpr bool std::operator!=(const std::tuple<_Tps ...>&, const std::tuple<_Args2 ...>&) operator!=(const tuple<_TElements...>& __t, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:1423:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::tuple<_Tps ...>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:39:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:63, from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/array:257:5: note: candidate: template bool std::operator!=(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&) operator!=(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two) ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/array:257:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::array<_Tp, _Nm>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/string:52:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/array:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:63, from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6069:5: note: candidate: template bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6069:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/string:52:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/array:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:63, from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6057:5: note: candidate: template bool std::operator!=(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) operator!=(const _CharT* __lhs, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6057:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const _CharT*' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/string:52:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/array:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:63, from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6044:5: note: candidate: template bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h:6044:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h:40:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/string:40, from /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/array:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple:39, from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h:63, from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:61, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h:221:5: note: candidate: template bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&) operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h:221:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::fpos<_StateT>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:60:0, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h:1553:5: note: candidate: template bool std::operator!=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&) operator!=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h:1553:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/map:60:0, from ReadABAQUS.hpp:203, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h:412:5: note: candidate: template bool std::operator!=(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&) operator!=(const _Rb_tree_iterator<_Val>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h:412:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::_Rb_tree_iterator<_Tp>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:64:0, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h:1620:5: note: candidate: template bool std::operator!=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&) operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y) ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h:1620:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::vector<_Tp, _Alloc>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:61:0, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h:164:5: note: candidate: template bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&) operator!=(const allocator<_Tp>&, const allocator<_Tp>&) ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h:164:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::allocator<_Tp1>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:61:0, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h:158:5: note: candidate: template bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_T2>&) operator!=(const allocator<_T1>&, const allocator<_T2>&) ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h:158:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::allocator<_Tp1>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:60, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:1136:5: note: candidate: template bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&) operator!=(const move_iterator<_Iterator>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:1136:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:60, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:1130:5: note: candidate: template bool std::operator!=(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&) operator!=(const move_iterator<_IteratorL>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:1130:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::move_iterator<_IteratorL>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:60, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:349:5: note: candidate: template bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&) operator!=(const reverse_iterator<_IteratorL>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:349:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:60, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:311:5: note: candidate: template bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) operator!=(const reverse_iterator<_Iterator>& __x, ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h:311:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'long int' if (NULL != abFile) ^~~~~~ In file included from /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h:64:0, from /opt/rh/devtoolset-7/root/usr/include/c++/7/vector:60, from ReadABAQUS.hpp:202, from ReadABAQUS.cpp:23: /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h:456:5: note: candidate: template constexpr bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&) operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) ^~~~~~~~ /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h:456:5: note: template argument deduction/substitution failed: ReadABAQUS.cpp:108:15: note: mismatched types 'const std::pair<_T1, _T2>' and 'long int' if (NULL != abFile) ^~~~~~ make[5]: *** [Makefile:791: ReadABAQUS.lo] Error 1 make[4]: *** [Makefile:834: all-recursive] Error 1 make[3]: *** [Makefile:913: all-recursive] Error 1 make[2]: *** [Makefile:636: all] Error 2 make[1]: *** [Makefile:594: all-recursive] Error 1 make: *** [Makefile:459: all] Error 2