Re: Compile error "#STR " does not fit into IdStrMap.str\n"

Reimar Döffinger <[email protected]> Fri, 19 Jul 2024 20:12:16 +0200
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
> On 19 Jul 2024, at 12:07, max muster <[email protected]> wrote:
> 
> Hi,
> OK, i will give it a try.
> 
>    Am Mittwoch, 17. Juli 2024 um 03:44:13 MESZ hat Masaru Nomiya <[email protected]> Folgendes geschrieben:  
> 
> Hello,
> 
> In the Message; 
> 
>   Subject    : Re: [MPlayer-users] Compile error "#STR " does not fit into IdStrMap.str\n"
>   Message-ID : <[email protected]>
>   Date & Time: Tue, 16 Jul 2024 19:14:31 +0000 (UTC)
> 
> [MM] == max muster <[email protected]> has written:
> 
> MM>  Hello,
> MM>  i use GCC 10.x
> 
> Briefly, open source is developed with consideration of gcc used for
> building.
> Currently, the mainstream of open source development is to develop
> with gcc 12 in mind, and ffmpeg is no exception. When you try to build
> with gcc 10, you get a gcc macro error when building ffmpeg, just like
> you did.
> 
> So the solution is to install gcc 12 and build MPlayer.
> 
> PS.
> 
> I was able to build MPlayer again today with no problems.


Hi!
According to this I don't think it is a compiler issue:
https://gcc.gnu.org/wiki/C11Status
it needs glibc 2.16.
But you could do something like adding
-Dstatic_assert=_Static_assert
to the compiler command-line (if this is indeed the issue).