[MPlayer-dev-eng] [PATCH] Adapts to -std=c11 on OS/2
KO Myung-Hun
komh78 at gmail.com
Sat Sep 28 14:47:32 EEST 2024
Hi/2.
Dave Yeo wrote:
> On 09/27/24 08:36 AM, KO Myung-Hun wrote:
>> -std=c11 disables many extensions of OS/2 kLIBC. And this causes many
>> compilation errors such as implicit functions.
>>
>> To enable extensions of OS/2 kLIBC, define _EMX_SOURCE before including
>> any headers.
>
> I did the same before deciding that adding -D_EMX_SOURCE to
> --extra-cflags was less invasive.
If an user does not add -D_EMX_SOURCE to --extra-cflags, compilation
will fail. I think this is not a correct way.
It would be better to succeed to compile regardless of user's configuration.
--
KO Myung-Hun
Korean OS/2 User Community : https://www.os2.kr/
More information about the MPlayer-dev-eng
mailing list