FireBurn / Overlay

Gentoo Overly
GNU General Public License v3.0
21 stars 6 forks source link

www-client/chromium-81.0.4000.3 fails with gcc #63

Closed skinkie closed 4 years ago

skinkie commented 4 years ago
In file included from ../../media/base/media_log_properties.h:13,
                 from ../../media/base/media_log.h:23,
                 from ../../media/base/media_util.h:13,
                 from ../../media/ffmpeg/ffmpeg_common.cc:16:
../../media/base/media_log_properties_helper.h:86:8: error: extra qualification not allowed [-fpermissive]
   86 | struct internal::MediaLogPropertyTypeConverter<media::AudioDecoderConfig> {
      |        ^~~~~~~~
../../media/base/media_log_properties_helper.h:86:75: error: explicit specialization of non-template 'media::internal::<unnamed struct>'
   86 | struct internal::MediaLogPropertyTypeConverter<media::AudioDecoderConfig> {
      |                                                                           ^
../../media/base/media_log_properties_helper.h:113:2: error: abstract declarator 'media::internal::<unnamed struct>' used as declaration
  113 | };
      |  ^
../../media/base/media_log_properties_helper.h:117:8: error: extra qualification not allowed [-fpermissive]
  117 | struct internal::MediaLogPropertyTypeConverter<VideoDecoderConfig> {
      |        ^~~~~~~~
../../media/base/media_log_properties_helper.h:117:68: error: explicit specialization of non-template 'media::internal::<unnamed struct>'
  117 | struct internal::MediaLogPropertyTypeConverter<VideoDecoderConfig> {
      |                                                                    ^
../../media/base/media_log_properties_helper.h:160:2: error: abstract declarator 'media::internal::<unnamed struct>' used as declaration
  160 | };
      |  ^
../../media/base/media_log_properties_helper.h: In instantiation of 'static base::Value media::internal::MediaLogPropertyTypeConverter<std::vector<T> >::Convert(const std::vector<T>&) [with T = media::AudioDecoderConfig]':
../../media/base/media_log_properties.h:98:1:   required from here
../../media/base/media_log_properties_helper.h:79:62: error: 'Convert' is not a member of 'media::internal::MediaLogPropertyTypeConverter<media::AudioDecoderConfig>'
   79 |       result.Append(MediaLogPropertyTypeConverter<T>::Convert(entry));
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../../media/base/media_log_properties_helper.h: In instantiation of 'static base::Value media::internal::MediaLogPropertyTypeConverter<std::vector<T> >::Convert(const std::vector<T>&) [with T = media::VideoDecoderConfig]':
../../media/base/media_log_properties.h:99:1:   required from here
../../media/base/media_log_properties_helper.h:79:62: error: 'Convert' is not a member of 'media::internal::MediaLogPropertyTypeConverter<media::VideoDecoderConfig>'
FireBurn commented 4 years ago

It should compile just fine with Clang (compiled here with clang 10)

You could also try passing in -fpermissive to see if you can finish compiling with GCC

FireBurn commented 4 years ago

Just to be clear that should be added to your CXXFLAGS (doens't do anything on CFLAGS)

FireBurn commented 4 years ago

Hi did you have any success doing that? I've added the latest build to the overlay 81.0.4021.2

FireBurn commented 4 years ago

Closing this issue