[odb-users] Building ODB 2.4.0 on OpenSuSE Leap 15.0

Alexander Kuznetsov admin at replaytrader.com
Mon Mar 11 18:37:11 EDT 2019


I'm using OpenSuSE Leap 15.0 and GCC 7.3.1 or 8.2.1. Both compilers have been built from sources to include plugin support.
Tried to compile odb on that system.

Need help or any insight how to compile ODB on systems with GCC > 5.

As a note I have compiled everything on OpenSuSE 42.3 using GCC 5, however we're planning to phase out those systems.

Here is what I have during compilation (handpicked errors, the entire list is very big) :

error: 'gcc_checking_assert' was not declared in this scope
   gcc_checking_assert (precision == x.get_precision ());

error: 'STATIC_CONSTANT_P' was not declared in this scope, and no
declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]

error: 'STATIC_CONSTANT_P' was not declared in this scope
   if (STATIC_CONSTANT_P (xi.len == 1))

error: no matching function for call to
       *result = T (typename mode_traits<T>::from_int (m));

error: could not convert '(mode_traits<scalar_int_mode>::from_int)m'
from 'mode_traits<scalar_int_mode>::from_int' to 'scalar_int_mode'
   return typename mode_traits<T>::from_int (m);
cxx-lexer.cxx: In member function 'virtual cpp_ttype
cxx_string_lexer::next(std::__cxx11::string&, tree_node**)':
cxx-lexer.cxx:272:11: error: 'C_IS_RESERVED_WORD' was not declared in
this scope
       if (C_IS_RESERVED_WORD (id))
cxx-lexer.cxx:272:11: note: suggested alternative: 'LDPR_RESOLVED_IR'
       if (C_IS_RESERVED_WORD (id))

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 1778 bytes
Desc: not available
Url : https://codesynthesis.com/pipermail/odb-users/attachments/20190311/f997c36b/pEpkey.key

More information about the odb-users mailing list