[odb-users] gcc 16 odb compile error

MM finjulhich at gmail.com
Mon May 4 17:04:05 EDT 2026


hello
I see gcc 16 erroring with this

/usr/local/src/codesynthesis/odb-gcc-16/odb-2.5.0/odb/plugin.cxx: In
function ‘void start_unit_callback(void*, void*)’:
/usr/local/src/codesynthesis/odb-gcc-16/odb-2.5.0/odb/plugin.cxx:155:15:
error: ‘cpp_get_dir’ was not declared in this scope; did you mean
‘cpp_get_file’?
  155 |   cpp_dir* d (cpp_get_dir (f));
      |               ^~~~~~~~~~~
      |               cpp_get_file
/usr/local/src/codesynthesis/odb-gcc-16/odb-2.5.0/odb/plugin.cxx:156:18:
error: ‘cpp_get_path’ was not declared in this scope; did you mean
‘cpp_get_date’?
  156 |   char const* p (cpp_get_path (f));
      |                  ^~~~~~~~~~~~
      |                  cpp_get_date
error: process g++ exited with code 1

let me know if there's a fix?


More information about the odb-users mailing list