[MPlayer-users] Compile error "#STR " does not fit into IdStrMap.str\n"

Masaru Nomiya nomiya at lake.dti.ne.jp
Tue Jul 16 14:01:48 EEST 2024


Hello,

In the Message; 

  Subject    : [MPlayer-users] Compile error "#STR " does not fit into IdStrMap.str\n"
  Message-ID : <1645614469.1260623.1721063090650 at mail.yahoo.com>
  Date & Time: Mon, 15 Jul 2024 17:04:50 +0000 (UTC)

[MM] == max muster <steyding-at-yahoo.de at ffmpeg.org> has written:

MM>  ibavformat/img2.c:101:62: note: in definition of macro 'LENGTH_CHECK'
[...]
MM>  libavformat/img2.c:101:62: note: in definition of macro 'LENGTH_CHECK'
MM>    101 |     static_assert(sizeof(#STR) <= sizeof(ff_img_tags->str), #STR " does not fit into IdStrMap.str\n");
MM>        |                                                              ^~~
MM>  libavformat/img2.c:102:1: note: in expansion of macro 'IMG_TAGS'
MM>    102 | IMG_TAGS(LENGTH_CHECK)
MM>        | ^~~~~~~~
MM>  make[1]: *** [ffbuild/common.mak:81: libavformat/img2.o] Error 1
MM>  make[1]: Leaving directory '/trunk/mplayer-unpatched/ffmpeg'
MM>  make: *** [Makefile:743: ffmpeg/libavformat/libavformat.a] Error 2


I think this error is gcc related.

What version of gcc did you use?

I built with gcc-12.

Best Regards && Good Night.

---
┏━━┓彡   Masaru Nomiya                     mail-to: nomiya @ lake.dti.ne.jp
┃\/彡
┗━━┛  "As Google fights for positioning in a new AI boom and an era where
	  some consumers are turning to TikTok or ChatGPT instead of Google
	  Search, some employees now worry product development could become
	  dangerously hasty. The restructuring of RESIN has increased those
	  concerns, the sources say."
	  
                                -- Google Splits Up a Key AI Ethics Watchdog --


More information about the MPlayer-users mailing list