Package Details: openh264 2.1.1-1

Git Clone URL: https://aur.archlinux.org/openh264.git (read-only, click to copy)
Package Base: openh264
Description: OpenH264 is a codec library which supports H.264 encoding and decoding
Upstream URL: http://www.openh264.org/
Licenses: BSD
Submitter: drakkan
Maintainer: drakkan
Last Packager: drakkan
Votes: 95
Popularity: 2.35
First Submitted: 2015-07-18 07:58
Last Updated: 2020-07-17 17:08

Latest Comments

mikecentola commented on 2020-07-17 17:03

Could you please add 'aarch64' to the PKGBUILD so that I can build this for freerdp-git for remmina-git on Manjaro-ARM? Thanks!

twouters commented on 2020-04-02 21:38

As expected, works in clean chroot, my bad. Not sure what's causing it yet though, I'll attempt to reproduce it somehow later.

[update] Cause found: /usr/include/c++/9.3.0/bits/basic_string.h somehow got corrupt on my system, reinstalling gcc fixed it.

twouters commented on 2020-04-02 21:32

@drakkan could be related to yay or smth, will try with makepkg in a clean chroot to be sure.

drakkan commented on 2020-04-01 09:17

@twouters, I'm unable to reproduce the build issue, I tested on two different machines, are you able to provide more details? Thanks

twouters commented on 2020-03-31 10:10

2.1.0 fails to build on my machine:

g++ -O3 -DNDEBUG -m64 -DX86_ASM -DHAVE_AVX2 -Wall -fno-strict-aliasing -fPIC -MMD -MP -fstack-protector-all -DGENERATED_VERSION_HEADER -DHAVE_AVX2 -I./codec/api/svc -I./codec/common/inc -Icodec/common/inc  -I./codec/console/common/inc -c -o codec/console/common/src/read_config.o codec/console/common/src/read_config.cpp
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:54:44: error: template definition of non-template ‘const typename std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::npos’
   54 |     basic_string<_CharT, _Traits, _Alloc>::npos;
      |                                            ^~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:59:10: error: variable or field ‘swap’ declared void
   59 |     swap(basic_string& __s) _GLIBCXX_NOEXCEPT
      |          ^~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:59:22: error: missing template arguments before ‘&’ token
   59 |     swap(basic_string& __s) _GLIBCXX_NOEXCEPT
      |                      ^
/usr/include/c++/9.3.0/bits/basic_string.tcc:59:24: error: ‘__s’ was not declared in this scope
   59 |     swap(basic_string& __s) _GLIBCXX_NOEXCEPT
      |                        ^~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:133:15: error: template definition of non-template ‘typename std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_create’
  133 |     _M_create(size_type& __capacity, size_type __old_capacity)
      |               ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:133:15: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  133 |     _M_create(size_type& __capacity, size_type __old_capacity)
      |               ^~~~~~~~~
      |               true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:133:26: error: ‘__capacity’ was not declared in this scope
  133 |     _M_create(size_type& __capacity, size_type __old_capacity)
      |                          ^~~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:133:38: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  133 |     _M_create(size_type& __capacity, size_type __old_capacity)
      |                                      ^~~~~~~~~
      |                                      true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:165:29: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
  165 |      std::input_iterator_tag)
      |                             ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:208:31: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
  208 |      std::forward_iterator_tag)
      |                               ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:238:18: error: variable or field ‘_M_construct’ declared void
  238 |     _M_construct(size_type __n, _CharT __c)
      |                  ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:238:18: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  238 |     _M_construct(size_type __n, _CharT __c)
      |                  ^~~~~~~~~
      |                  true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:238:40: error: expected primary-expression before ‘__c’
  238 |     _M_construct(size_type __n, _CharT __c)
      |                                        ^~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:255:21: error: invalid use of template-name ‘std::__cxx11::basic_string’ without an argument list
  255 |     _M_assign(const basic_string& __str)
      |                     ^~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:255:21: note: class template argument deduction is only available with ‘-std=c++17’ or ‘-std=gnu++17’
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: ‘template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string’ declared here
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:255:40: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
  255 |     _M_assign(const basic_string& __str)
      |                                        ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:281:13: error: variable or field ‘reserve’ declared void
  281 |     reserve(size_type __res)
      |             ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:281:13: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  281 |     reserve(size_type __res)
      |             ^~~~~~~~~
      |             true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:311:15: error: variable or field ‘_M_mutate’ declared void
  311 |     _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
      |               ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:311:15: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  311 |     _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
      |               ^~~~~~~~~
      |               true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:311:32: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  311 |     _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
      |                                ^~~~~~~~~
      |                                true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:311:50: error: expected primary-expression before ‘const’
  311 |     _M_mutate(size_type __pos, size_type __len1, const _CharT* __s,
      |                                                  ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:312:8: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  312 |        size_type __len2)
      |        ^~~~~~~~~
      |        true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:335:14: error: variable or field ‘_M_erase’ declared void
  335 |     _M_erase(size_type __pos, size_type __n)
      |              ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:335:14: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  335 |     _M_erase(size_type __pos, size_type __n)
      |              ^~~~~~~~~
      |              true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:335:31: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  335 |     _M_erase(size_type __pos, size_type __n)
      |                               ^~~~~~~~~
      |                               true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:348:12: error: variable or field ‘resize’ declared void
  348 |     resize(size_type __n, _CharT __c)
      |            ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:348:12: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  348 |     resize(size_type __n, _CharT __c)
      |            ^~~~~~~~~
      |            true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:348:34: error: expected primary-expression before ‘__c’
  348 |     resize(size_type __n, _CharT __c)
      |                                  ^~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:360:34: error: ‘size_type’ has not been declared
  360 |     _M_append(const _CharT* __s, size_type __n)
      |                                  ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:360:47: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
  360 |     _M_append(const _CharT* __s, size_type __n)
      |                                               ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:380:27: error: template definition of non-template ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace_dispatch’
  380 |       _M_replace_dispatch(const_iterator __i1, const_iterator __i2,
      |                           ^~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:380:27: error: ‘const_iterator’ was not declared in this scope; did you mean ‘move_iterator’?
  380 |       _M_replace_dispatch(const_iterator __i1, const_iterator __i2,
      |                           ^~~~~~~~~~~~~~
      |                           move_iterator
/usr/include/c++/9.3.0/bits/basic_string.tcc:380:48: error: ‘const_iterator’ was not declared in this scope; did you mean ‘move_iterator’?
  380 |       _M_replace_dispatch(const_iterator __i1, const_iterator __i2,
      |                                                ^~~~~~~~~~~~~~
      |                                                move_iterator
/usr/include/c++/9.3.0/bits/basic_string.tcc:381:21: error: expected primary-expression before ‘__k1’
  381 |      _InputIterator __k1, _InputIterator __k2,
      |                     ^~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:381:42: error: expected primary-expression before ‘__k2’
  381 |      _InputIterator __k1, _InputIterator __k2,
      |                                          ^~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:382:23: error: expected primary-expression before ‘)’ token
  382 |      std::__false_type)
      |                       ^
/usr/include/c++/9.3.0/bits/basic_string.tcc:393:20: error: template definition of non-template ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace_aux’
  393 |     _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
      |                    ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:393:20: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  393 |     _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
      |                    ^~~~~~~~~
      |                    true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:393:38: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  393 |     _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
      |                                      ^~~~~~~~~
      |                                      true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:393:54: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  393 |     _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
      |                                                      ^~~~~~~~~
      |                                                      true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:394:13: error: expected primary-expression before ‘__c’
  394 |      _CharT __c)
      |             ^~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:422:16: error: template definition of non-template ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace’
  422 |     _M_replace(size_type __pos, size_type __len1, const _CharT* __s,
      |                ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:422:16: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  422 |     _M_replace(size_type __pos, size_type __len1, const _CharT* __s,
      |                ^~~~~~~~~
      |                true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:422:33: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
  422 |     _M_replace(size_type __pos, size_type __len1, const _CharT* __s,
      |                                 ^~~~~~~~~
      |                                 true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:422:51: error: expected primary-expression before ‘const’
  422 |     _M_replace(size_type __pos, size_type __len1, const _CharT* __s,
      |                                                   ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:423:9: error: expected primary-expression before ‘const’
  423 |         const size_type __len2)
      |         ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:475:23: error: ‘size_type’ has not been declared
  475 |     copy(_CharT* __s, size_type __n, size_type __pos) const
      |                       ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:475:38: error: ‘size_type’ has not been declared
  475 |     copy(_CharT* __s, size_type __n, size_type __pos) const
      |                                      ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:475:55: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
  475 |     copy(_CharT* __s, size_type __n, size_type __pos) const
      |                                                       ^~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1189:29: error: ‘size_type’ has not been declared
 1189 |     find(const _CharT* __s, size_type __pos, size_type __n) const
      |                             ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1189:46: error: ‘size_type’ has not been declared
 1189 |     find(const _CharT* __s, size_type __pos, size_type __n) const
      |                                              ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1190:5: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1190 |     _GLIBCXX_NOEXCEPT
      |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1225:22: error: ‘size_type’ has not been declared
 1225 |     find(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                      ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1225:45: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1225 |     find(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                                             ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1243:30: error: ‘size_type’ has not been declared
 1243 |     rfind(const _CharT* __s, size_type __pos, size_type __n) const
      |                              ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1243:47: error: ‘size_type’ has not been declared
 1243 |     rfind(const _CharT* __s, size_type __pos, size_type __n) const
      |                                               ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1244:5: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1244 |     _GLIBCXX_NOEXCEPT
      |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1265:23: error: ‘size_type’ has not been declared
 1265 |     rfind(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                       ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1265:46: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1265 |     rfind(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                                              ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1282:38: error: ‘size_type’ has not been declared
 1282 |     find_first_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                      ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1282:55: error: ‘size_type’ has not been declared
 1282 |     find_first_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                                       ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1283:5: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1283 |     _GLIBCXX_NOEXCEPT
      |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1298:37: error: ‘size_type’ has not been declared
 1298 |     find_last_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                     ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1298:54: error: ‘size_type’ has not been declared
 1298 |     find_last_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                                      ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1299:5: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1299 |     _GLIBCXX_NOEXCEPT
      |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1320:42: error: ‘size_type’ has not been declared
 1320 |     find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                          ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1320:59: error: ‘size_type’ has not been declared
 1320 |     find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                                           ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1321:5: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1321 |     _GLIBCXX_NOEXCEPT
      |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1333:35: error: ‘size_type’ has not been declared
 1333 |     find_first_not_of(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                                   ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1333:58: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1333 |     find_first_not_of(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                                                          ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1344:41: error: ‘size_type’ has not been declared
 1344 |     find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                         ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1344:58: error: ‘size_type’ has not been declared
 1344 |     find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const
      |                                                          ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1345:5: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1345 |     _GLIBCXX_NOEXCEPT
      |     ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1366:34: error: ‘size_type’ has not been declared
 1366 |     find_last_not_of(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                                  ^~~~~~~~~
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1366:57: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1366 |     find_last_not_of(_CharT __c, size_type __pos) const _GLIBCXX_NOEXCEPT
      |                                                         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1386:13: error: template definition of non-template ‘int std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::compare’
 1386 |     compare(size_type __pos, size_type __n, const basic_string& __str) const
      |             ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1386:13: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1386 |     compare(size_type __pos, size_type __n, const basic_string& __str) const
      |             ^~~~~~~~~
      |             true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1386:30: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1386 |     compare(size_type __pos, size_type __n, const basic_string& __str) const
      |                              ^~~~~~~~~
      |                              true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1386:45: error: expected primary-expression before ‘const’
 1386 |     compare(size_type __pos, size_type __n, const basic_string& __str) const
      |                                             ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1401:13: error: template definition of non-template ‘int std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::compare’
 1401 |     compare(size_type __pos1, size_type __n1, const basic_string& __str,
      |             ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1401:13: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1401 |     compare(size_type __pos1, size_type __n1, const basic_string& __str,
      |             ^~~~~~~~~
      |             true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1401:31: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1401 |     compare(size_type __pos1, size_type __n1, const basic_string& __str,
      |                               ^~~~~~~~~
      |                               true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1401:47: error: expected primary-expression before ‘const’
 1401 |     compare(size_type __pos1, size_type __n1, const basic_string& __str,
      |                                               ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1402:6: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1402 |      size_type __pos2, size_type __n2) const
      |      ^~~~~~~~~
      |      true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1402:24: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1402 |      size_type __pos2, size_type __n2) const
      |                        ^~~~~~~~~
      |                        true_type
In file included from /usr/include/c++/9.3.0/cstdlib:41,
                 from /usr/include/c++/9.3.0/stdlib.h:36,
                 from ./codec/console/common/inc/read_config.h:43,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1419:38: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
 1419 |     compare(const _CharT* __s) const _GLIBCXX_NOEXCEPT
      |                                      ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:56,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/basic_string.tcc:1434:13: error: template definition of non-template ‘int std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::compare’
 1434 |     compare(size_type __pos, size_type __n1, const _CharT* __s) const
      |             ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1434:13: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1434 |     compare(size_type __pos, size_type __n1, const _CharT* __s) const
      |             ^~~~~~~~~
      |             true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1434:30: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1434 |     compare(size_type __pos, size_type __n1, const _CharT* __s) const
      |                              ^~~~~~~~~
      |                              true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1434:46: error: expected primary-expression before ‘const’
 1434 |     compare(size_type __pos, size_type __n1, const _CharT* __s) const
      |                                              ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1450:13: error: template definition of non-template ‘int std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::compare’
 1450 |     compare(size_type __pos, size_type __n1, const _CharT* __s,
      |             ^~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1450:13: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1450 |     compare(size_type __pos, size_type __n1, const _CharT* __s,
      |             ^~~~~~~~~
      |             true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1450:30: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1450 |     compare(size_type __pos, size_type __n1, const _CharT* __s,
      |                              ^~~~~~~~~
      |                              true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1450:46: error: expected primary-expression before ‘const’
 1450 |     compare(size_type __pos, size_type __n1, const _CharT* __s,
      |                                              ^~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1451:6: error: ‘size_type’ was not declared in this scope; did you mean ‘true_type’?
 1451 |      size_type __n2) const
      |      ^~~~~~~~~
      |      true_type
/usr/include/c++/9.3.0/bits/basic_string.tcc:1608:25: error: explicit instantiation of ‘class std::__cxx11::basic_string<char>’ before definition of template
 1608 |   extern template class basic_string<char>;
      |                         ^~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1621:51: error: ‘operator<<’ is not a template function
 1621 |     operator<<(basic_ostream<char>&, const string&);
      |                                                   ^
/usr/include/c++/9.3.0/bits/basic_string.tcc:1627:5: error: template-id ‘getline<>’ for ‘std::basic_istream<char>& std::getline(std::basic_istream<char>&, std::string&)’ does not match any template declaration
 1627 |     getline(basic_istream<char>&, string&);
      |     ^~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1538:5: note: candidate is: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)’
 1538 |     getline(basic_istream<_CharT, _Traits>& __in,
      |     ^~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1631:25: error: explicit instantiation of ‘class std::__cxx11::basic_string<wchar_t>’ before definition of template
 1631 |   extern template class basic_string<wchar_t>;
      |                         ^~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1642:55: error: ‘operator<<’ is not a template function
 1642 |     operator<<(basic_ostream<wchar_t>&, const wstring&);
      |                                                       ^
/usr/include/c++/9.3.0/bits/basic_string.tcc:1648:5: error: template-id ‘getline<>’ for ‘std::basic_istream<wchar_t>& std::getline(std::basic_istream<wchar_t>&, std::wstring&)’ does not match any template declaration
 1648 |     getline(basic_istream<wchar_t>&, wstring&);
      |     ^~~~~~~
/usr/include/c++/9.3.0/bits/basic_string.tcc:1538:5: note: candidate is: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)’
 1538 |     getline(basic_istream<_CharT, _Traits>& __in,
      |     ^~~~~~~
In file included from codec/console/common/src/read_config.cpp:44:
./codec/console/common/inc/read_config.h:63:21: error: field ‘m_strCfgFileName’ has incomplete type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
   63 |   std::string       m_strCfgFileName;
      |                     ^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp: In constructor ‘CReadConfig::CReadConfig(const string&)’:
codec/console/common/src/read_config.cpp:65:7: error: invalid use of incomplete type ‘const string’ {aka ‘const class std::__cxx11::basic_string<char>’}
   65 |   if (kpConfigFileName.length() > 0) {
      |       ^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp:66:25: error: invalid use of incomplete type ‘const string’ {aka ‘const class std::__cxx11::basic_string<char>’}
   66 |     m_pCfgFile = fopen (kpConfigFileName.c_str(), "r");
      |                         ^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp: In member function ‘long int CReadConfig::ReadLine(std::string*, int)’:
codec/console/common/src/read_config.cpp:88:33: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<char>’
   88 |   std::string* strTags = &pVal[0];
      |                                 ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<char>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp:93:11: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<char>’
   93 |     pVal[n] = "";
      |           ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<char>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp:93:11: error: invalid use of incomplete type ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   93 |     pVal[n] = "";
      |     ~~~~~~^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp:110:16: error: invalid use of incomplete type ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
  110 |         if (! (*strTags).empty()) {
      |               ~^~~~~~~~~
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’}
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp:112:34: error: invalid use of incomplete type ‘class std::__cxx11::basic_string<char>’
  112 |           strTags = &pVal[nTagNum];
      |                                  ^
In file included from /usr/include/c++/9.3.0/string:39,
                 from ./codec/console/common/inc/read_config.h:44,
                 from codec/console/common/src/read_config.cpp:44:
/usr/include/c++/9.3.0/bits/stringfwd.h:74:11: note: declaration of ‘class std::__cxx11::basic_string<char>’
   74 |     class basic_string;
      |           ^~~~~~~~~~~~
codec/console/common/src/read_config.cpp:115:18: error: no match for ‘operator+=’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘const char’)
  115 |         *strTags += kCh;
      |         ~~~~~~~~~^~~~~~
make: *** [codec/console/common/targets.mk:13: codec/console/common/src/read_config.o] Error 1