[Cin] WEird build error with clang-10 ad gcc 5.5 headers

Phyllis Smith phylsmith2017 at gmail.com
Fri Oct 30 00:17:30 CET 2020


With GCC and your patch, GG says and quotes "The C++ Programming Language"
by Bjarne Stroustrup on page 144 of the January 2000 edition:

"The* inline* specifier is a hint to the compiler that it should attempt to
generate code for a call of *fac*() inline rather than laying down the code
for the function once and then calling through the usual function call
mechanism."

RIght now his is booting Slackware and see what our old O/S does.


On Thu, Oct 29, 2020 at 1:26 PM Andrew Randrianasulu via Cin <
cin at lists.cinelerra-gg.org> wrote:

> В сообщении от Thursday 29 October 2020 22:11:04 Phyllis Smith via Cin
> написал(а):
> > Andrew, mentioned this to GG and he plans on looking at CLANG usage after
> > he finishes a new Tile Mixer arithmetic algorithm (because his brain is
> > loaded with that information right now already).  Thanks for the ffmpeg
> > patch in your last email - he will look at that much later.
>
> well,  with gcc 5.5.0:
> g++ `cat i686/c_flags`  -DMSGQUAL=affine -c affine.C -o i686/affine.o
> g++ `cat i686/c_flags`  -DMSGQUAL=amodule -c amodule.C -o i686/amodule.o
> In file included from amodule.C:40:0:
> mainerror.h: In function 'void eprint1(const char*, const char*, ...)':
> mainerror.h:92:20: error: function 'void eprint1(const char*, const char*,
> ...)' can never be inlined because it uses variable argument lists
>  static inline void eprint1(const char *func, const char *fmt, ...)
>                     ^
> In file included from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:0,
>                  from ffmpeg.h:29,
>                  from formattools.h:31,
>                  from file.h:37,
>                  from amodule.C:36:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:
> At global scope:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> warning: 'int is_dos_path(const char*)' defined but not used
> [-Wunused-function]
>  static inline int is_dos_path(const char *path)
>                    ^
> cc1plus: warning: unrecognized command line option
> '-Wno-stringop-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-format-overflow'
> cc1plus: warning: unrecognized command line option '-Wno-format-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-stringop-overflow'
> cc1plus: warning: unrecognized command line option
> '-Wno-unknown-warning-option'
> make[2]: *** [Makefile:563: i686/amodule.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> '/dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra'
> make[1]: *** [Makefile:527: all-recursive] Error 1
> make[1]: Leaving directory
> '/dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1'
> make: *** [Makefile:483: all] Error 2
>
> another error :) :( this one hopefully as simple as removing this 'inline'
> keyword ....
>
> sadly no (I patched this error [see attach] out but some more lives
> somewhere else ?? ..):
>
>
>
> make[2]: warning: -jN forced in submake: disabling jobserver mode.
> g++ `cat i686/c_flags`  -DMSGQUAL=filedv -c filedv.C -o i686/filedv.o
> g++ `cat i686/c_flags` -Wno-deprecated -std=c++11 -DMSGQUAL=fileexr -c
> fileexr.C -o i686/fileexr.o
> g++ `cat i686/c_flags`  -DMSGQUAL=fileflac -c fileflac.C -o i686/fileflac.o
> g++ `cat i686/c_flags`  -DMSGQUAL=fileformat -c fileformat.C -o
> i686/fileformat.o
> g++ `cat i686/c_flags`  -DMSGQUAL=filegif -c filegif.C -o i686/filegif.o
> In file included from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:0,
>                  from ffmpeg.h:29,
>                  from formattools.h:31,
>                  from file.h:37,
>                  from fileflac.C:36:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> warning: 'int is_dos_path(const char*)' defined but not used
> [-Wunused-function]
>  static inline int is_dos_path(const char *path)
>                    ^
> cc1plus: warning: unrecognized command line option
> '-Wno-stringop-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-format-overflow'
> cc1plus: warning: unrecognized command line option '-Wno-format-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-stringop-overflow'
> cc1plus: warning: unrecognized command line option
> '-Wno-unknown-warning-option'
> In file included from /usr/include/c++/5.5.0/bits/ios_base.h:46:0,
>                  from /usr/include/c++/5.5.0/ios:42,
>                  from /usr/include/c++/5.5.0/istream:38,
>                  from /usr/include/c++/5.5.0/sstream:38,
>                  from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/IexBaseExc.h:51,
>                  from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImathExc.h:47,
>                  from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImathVec.h:46,
>                  from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImfChromaticities.h:46,
>                  from fileexr.C:36:
> /usr/include/c++/5.5.0/system_error:63:10: error: expected unqualified-id
> before 'namespace'
>    inline namespace _V2 {
>           ^
> fileexr.C:614:1: error: expected '}' at end of input
>  }
>  ^
> g++ `cat i686/c_flags`  -DMSGQUAL=filejpeg -c filejpeg.C -o i686/filejpeg.o
> In file included from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:0,
>                  from ffmpeg.h:29,
>                  from formattools.h:31,
>                  from file.h:37,
>                  from fileexr.C:27:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> warning: 'int is_dos_path(const char*)' defined but not used
> [-Wunused-function]
>  static inline int is_dos_path(const char *path)
>                    ^
> cc1plus: warning: unrecognized command line option
> '-Wno-stringop-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-format-overflow'
> cc1plus: warning: unrecognized command line option '-Wno-format-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-stringop-overflow'
> cc1plus: warning: unrecognized command line option
> '-Wno-unknown-warning-option'
> make[2]: *** [Makefile:563: i686/fileexr.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from /usr/include/c++/5.5.0/bits/localefwd.h:40:0,
>                  from /usr/include/c++/5.5.0/ios:41,
>                  from /usr/include/c++/5.5.0/ostream:38,
>                  from /usr/include/c++/5.5.0/iostream:39,
>                  from filedv.C:49:
> /usr/include/c++/5.5.0/i586-slackware-linux/bits/c++locale.h: In function
> 'int std::__convert_from_v(__locale_struct* const&, char*, int, const
> char*, ...)':
> /usr/include/c++/5.5.0/i586-slackware-linux/bits/c++locale.h:69:3: error:
> function 'int std::__convert_from_v(__locale_struct* const&, char*, int,
> const char*, ...)' can never be inlined because it uses variable argument
> lists
>    __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)),
>    ^
> In file included from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:0,
>                  from ffmpeg.h:29,
>                  from formattools.h:31,
>                  from file.h:37,
>                  from filedv.C:29:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:
> At global scope:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> warning: 'int is_dos_path(const char*)' defined but not used
> [-Wunused-function]
>  static inline int is_dos_path(const char *path)
>                    ^
> cc1plus: warning: unrecognized command line option
> '-Wno-stringop-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-format-overflow'
> cc1plus: warning: unrecognized command line option '-Wno-format-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-stringop-overflow'
> cc1plus: warning: unrecognized command line option
> '-Wno-unknown-warning-option'
> make[2]: *** [Makefile:563: i686/filedv.o] Error 1
> In file included from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:0,
>                  from ffmpeg.h:29,
>                  from formattools.h:31,
>                  from file.h:37,
>                  from filejpeg.C:25:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> warning: 'int is_dos_path(const char*)' defined but not used
> [-Wunused-function]
>  static inline int is_dos_path(const char *path)
>                    ^
> cc1plus: warning: unrecognized command line option
> '-Wno-stringop-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-format-overflow'
> cc1plus: warning: unrecognized command line option '-Wno-format-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-stringop-overflow'
> cc1plus: warning: unrecognized command line option
> '-Wno-unknown-warning-option'
> In file included from
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:0,
>                  from ffmpeg.h:29,
>                  from formattools.h:31,
>                  from file.h:37,
>                  from filegif.C:24:
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> warning: 'int is_dos_path(const char*)' defined but not used
> [-Wunused-function]
>  static inline int is_dos_path(const char *path)
>                    ^
> cc1plus: warning: unrecognized command line option
> '-Wno-stringop-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-format-overflow'
> cc1plus: warning: unrecognized command line option '-Wno-format-truncation'
> cc1plus: warning: unrecognized command line option '-Wno-stringop-overflow'
> cc1plus: warning: unrecognized command line option
> '-Wno-unknown-warning-option'
> make[2]: Leaving directory
> '/dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra'
> make[1]: *** [Makefile:527: all-recursive] Error 1
> make[1]: Leaving directory
> '/dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1'
> make: *** [Makefile:483: all] Error 2
>
>
>
>
> >
> > On Thu, Oct 29, 2020 at 12:44 PM Andrew Randrianasulu via Cin <
> > cin at lists.cinelerra-gg.org> wrote:
> >
> > > I have CC and CXX set to clang and clang++ for quite some  time  for
> > > compiling CinGG. It was  working until today:
> > >
> > > -------
> > > In file included from fileffmpeg.C:10:
> > > In file included from ./asset.h:32:
> > > In file included from ./indexable.h:29:
> > > ./garbage.h:53:33: warning: all paths through this function will call
> > > itself [-Winfinite-recursion]
> > >         Garbage &operator=(Garbage &v) { return *this=v; } //disallow =
> > > operator
> > >                                        ^
> > > In file included from fileexr.C:27:
> > > In file included from ./file.h:37:
> > > In file included from ./formattools.h:26:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/guicast.h:62:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/errorbox.h:35:7:
> > > warning: 'ErrorBox::create_objects' hides overloaded virtual function
> > > [-Woverloaded-virtual]
> > >         void create_objects(const char *text);
> > >              ^
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:222:15:
> > > note: hidden overloaded virtual function
> 'BC_WindowBase::create_objects'
> > > declared here: different number of parameters (0 vs 1)
> > >         virtual void create_objects() { return; };
> > >                      ^
> > > In file included from filedv.C:49:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/iostream:39:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/ostream:38:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/ios:42:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/bits/ios_base.h:41:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/bits/locale_classes.h:40:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/string:52:
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/bits/basic_string.h:5653:10:
> > > error: expected unqualified-id
> > >   inline namespace literals
> > >          ^
> > > In file included from filedv.C:49:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/iostream:39:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/ostream:38:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/ios:42:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/bits/ios_base.h:46:
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:63:10:
> > > error: expected unqualified-id
> > >   inline namespace _V2 {
> > >          ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:143:31:
> > > error: unknown type name 'error_category'
> > >     error_code(int __v, const error_category& __cat) noexcept
> > >                               ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:152:27:
> > > error: unknown type name 'error_category'
> > >     assign(int __v, const error_category& __cat) noexcept
> > >                           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:172:11:
> > > error: unknown type name 'error_category'
> > >     const error_category&
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:191:11:
> > > error: unknown type name 'error_category'
> > >     const error_category*       _M_cat;
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:141:28:
> > > error: use of undeclared identifier 'system_category'
> > >     : _M_value(0), _M_cat(&system_category()) { }
> > >                            ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:160:17:
> > > error: use of undeclared identifier 'system_category'
> > >     { assign(0, system_category()); }
> > >                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:197:46:
> > > error: use of undeclared identifier 'generic_category'
> > >   { return error_code(static_cast<int>(__e), generic_category()); }
> > >                                              ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:221:36:
> > > error: unknown type name 'error_category'
> > >     error_condition(int __v, const error_category& __cat) noexcept
> > >                                    ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:230:27:
> > > error: unknown type name 'error_category'
> > >     assign(int __v, const error_category& __cat) noexcept
> > >                           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:251:11:
> > > error: unknown type name 'error_category'
> > >     const error_category&
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:265:11:
> > > error: unknown type name 'error_category'
> > >     const error_category*       _M_cat;
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:219:28:
> > > error: use of undeclared identifier 'generic_category'
> > >     : _M_value(0), _M_cat(&generic_category()) { }
> > >                            ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:245:17:
> > > error: use of undeclared identifier 'generic_category'
> > >     { assign(0, generic_category()); }
> > >                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:271:51:
> > > error: use of undeclared identifier 'generic_category'
> > >   { return error_condition(static_cast<int>(__e), generic_category());
> }
> > >                                                   ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:348:33:
> > > error: unknown type name 'error_category'
> > >     system_error(int __v, const error_category& __ecat, const char*
> __what)
> > >                                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:351:33:
> > > error: unknown type name 'error_category'
> > >     system_error(int __v, const error_category& __ecat)
> > >                                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:355:33:
> > > error: unknown type name 'error_category'
> > >     system_error(int __v, const error_category& __ecat, const string&
> > > __what)
> > >                                 ^
> > > In file included from fileexr.C:36:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImfChromaticities.h:46:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImathVec.h:46:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImathExc.h:47:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/IexBaseExc.h:51:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/sstream:38:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/istream:38:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/ios:42:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/bits/ios_base.h:46:
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:63:10:
> > > error: expected unqualified-id
> > >   inline namespace _V2 {
> > >          ^
> > > fatal error: too many errors emitted, stopping now [-ferror-limit=]
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:143:31:
> > > error: unknown type name 'error_category'
> > >     error_code(int __v, const error_category& __cat) noexcept
> > >                               ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:152:27:
> > > error: unknown type name 'error_category'
> > >     assign(int __v, const error_category& __cat) noexcept
> > >                           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:172:11:
> > > error: unknown type name 'error_category'
> > >     const error_category&
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:191:11:
> > > error: unknown type name 'error_category'
> > >     const error_category*       _M_cat;
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:141:28:
> > > error: use of undeclared identifier 'system_category'
> > >     : _M_value(0), _M_cat(&system_category()) { }
> > >                            ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:160:17:
> > > error: use of undeclared identifier 'system_category'
> > >     { assign(0, system_category()); }
> > >                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:197:46:
> > > error: use of undeclared identifier 'generic_category'
> > >   { return error_code(static_cast<int>(__e), generic_category()); }
> > >                                              ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:221:36:
> > > error: unknown type name 'error_category'
> > >     error_condition(int __v, const error_category& __cat) noexcept
> > >                                    ^
> > > In file included from fileffmpeg.C:12:
> > > In file included from ./bitspopup.h:25:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/guicast.h:35:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcpan.h:96:6:
> > > warning: 'BC_Pan::activate' hides overloaded virtual function
> > > [-Woverloaded-virtual]
> > >         int activate(int popup_x = -1, int popup_y = -1);
> > >             ^
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:375:14:
> > > note: hidden overloaded virtual function 'BC_WindowBase::activate'
> declared
> > > here: different number of parameters (0 vs 2)
> > >         virtual int activate();
> > >                     ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:230:27:
> > > error: unknown type name 'error_category'
> > >     assign(int __v, const error_category& __cat) noexcept
> > >                           ^
> > > In file included from fileffmpeg.C:12:
> > > In file included from ./bitspopup.h:25:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/guicast.h:36:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcfilebox.h:33:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bctextbox.h:25:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bclistbox.h:190:6:
> > > warning: 'BC_ListBox::activate' hides overloaded virtual function
> > > [-Woverloaded-virtual]
> > >         int activate(int take_focus = 1);
> > >             ^
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:375:14:
> > > note: hidden overloaded virtual function 'BC_WindowBase::activate'
> declared
> > > here: different number of parameters (0 vs 1)
> > >         virtual int activate();
> > >                     ^
> > > In file included from fileffmpeg.C:12:
> > > In file included from ./bitspopup.h:25:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/guicast.h:36:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcfilebox.h:33:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bctextbox.h:25:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bclistbox.h:191:6:
> > > warning: 'BC_ListBox::activate' hides overloaded virtual function
> > > [-Woverloaded-virtual]
> > >         int activate(int x, int y, int w=-1, int h=-1);
> > >             ^
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:375:14:
> > > note: hidden overloaded virtual function 'BC_WindowBase::activate'
> declared
> > > here: different number of parameters (0 vs 4)
> > >         virtual int activate();
> > >                     ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:251:11:
> > > error: unknown type name 'error_category'
> > >     const error_category&
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:265:11:
> > > error: unknown type name 'error_category'
> > >     const error_category*       _M_cat;
> > >           ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:219:28:
> > > error: use of undeclared identifier 'generic_category'
> > >     : _M_value(0), _M_cat(&generic_category()) { }
> > >                            ^
> > > 6 warnings and 20 errors generated.
> > > make[2]: *** [Makefile:563: i686/filedv.o] Error 1
> > > make[2]: *** Waiting for unfinished jobs....
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:245:17:
> > > error: use of undeclared identifier 'generic_category'
> > >     { assign(0, generic_category()); }
> > >                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:271:51:
> > > error: use of undeclared identifier 'generic_category'
> > >   { return error_condition(static_cast<int>(__e), generic_category());
> }
> > >                                                   ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:348:33:
> > > error: unknown type name 'error_category'
> > >     system_error(int __v, const error_category& __ecat, const char*
> __what)
> > >                                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:351:33:
> > > error: unknown type name 'error_category'
> > >     system_error(int __v, const error_category& __ecat)
> > >                                 ^
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/system_error:355:33:
> > > error: unknown type name 'error_category'
> > >     system_error(int __v, const error_category& __ecat, const string&
> > > __what)
> > >                                 ^
> > > In file included from fileffmpeg.C:12:
> > > In file included from ./bitspopup.h:25:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/guicast.h:62:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/errorbox.h:35:7:
> > > warning: 'ErrorBox::create_objects' hides overloaded virtual function
> > > [-Woverloaded-virtual]
> > >         void create_objects(const char *text);
> > >              ^
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/bcwindowbase.h:222:15:
> > > note: hidden overloaded virtual function
> 'BC_WindowBase::create_objects'
> > > declared here: different number of parameters (0 vs 1)
> > >         virtual void create_objects() { return; };
> > >                      ^
> > > In file included from fileexr.C:36:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImfChromaticities.h:46:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImathVec.h:46:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/ImathExc.h:47:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/openexr-2.4.1/usr/local/include/OpenEXR/IexBaseExc.h:51:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/sstream:38:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/istream:38:
> > > In file included from
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/ios:42:
> > >
> /usr/bin/../lib/gcc/i586-slackware-linux/5.5.0/../../../../include/c++/5.5.0/bits/ios_base.h:207:9:
> > > error: unknown type name 'error_category'
> > >   const error_category& iostream_category() noexcept;
> > >         ^
> > > In file included from fileffmpeg.C:15:
> > > In file included from ./ffmpeg.h:29:
> > > In file included from
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/internal.h:28:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../thirdparty/ffmpeg.git/./libavformat/os_support.h:70:19:
> > > warning: unused function 'is_dos_path' [-Wunused-function]
> > > static inline int is_dos_path(const char *path)
> > >                   ^
> > > In file included from fileffmpeg.C:16:
> > > In file included from ./filebase.h:32:
> > > In file included from ./file.inc:49:
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/language.h:45:21:
> > > warning: unused function 'msgtext' [-Wunused-function]
> > > static inline char *msgtext(const char *msgid)
> > >                     ^
> > >
> /dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra/../guicast/language.h:55:21:
> > > warning: unused function 'msgqual' [-Wunused-function]
> > > static inline char *msgqual(const char *msgqual,const char *msgid)
> > >                     ^
> > > 5 warnings and 19 errors generated.
> > > make[2]: *** [Makefile:563: i686/fileexr.o] Error 1
> > > 7 warnings generated.
> > > 8 warnings generated.
> > > make[2]: Leaving directory
> > > '/dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1/cinelerra'
> > > make[1]: *** [Makefile:527: all-recursive] Error 1
> > > make[1]: Leaving directory
> > > '/dev/shm/tmp/cinelerra-goodguy-20201029/cinelerra-5.1'
> > > make: *** [Makefile:483: all] Error 2
> > >
> > > ----
> > >
> > > Not sure what really caused this, will retry with plain GCC 5.5.0 ....
> > > --
> > > Cin mailing list
> > > Cin at lists.cinelerra-gg.org
> > > https://lists.cinelerra-gg.org/mailman/listinfo/cin
> > >
> >
>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20201029/679911c7/attachment-0001.htm>


More information about the Cin mailing list