| Newsgroups |
gmane.linux.lfs.beyond.devel |
| Message-ID |
<[email protected]> |
On 8/28/25 8:19 PM, Pat Barnes ([email protected] via blfs-dev Mailing List) wrote:
>
> On 8/28/25 11:52 AM, "Douglas R. Reno" ([email protected] via blfs-dev
> Mailing List) wrote:
>> On 8/28/25 8:03 AM, Pat Barnes ([email protected] via blfs-dev Mailing List) wrote:
>>> Hi,
>>>
>>> xine-ui-0.99.14 does not compile with GCC-15.2.
>>>
>>> changing the make-statement to
>>>
>>> make CC="gcc -std=gnu17"
>>>
>>> Allows it to compile and install
>>>
>>> Pat
>>>
>> Hi Pat,
>>
>> I can confirm this:
>>
>> In file included from /usr/include/bits/getopt_posix.h:27,
>> from /usr/include/unistd.h:903,
>> from main.h:28,
>> from options.c:34:
>> /usr/include/bits/getopt_core.h:91:12: error: conflicting types for ‘getopt’; have
>> ‘int(int, char * const*, const char *)’
>> 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
>> | ^~~~~~
>> In file included from options.c:29:
>> ../../src/common/getopt.h:136:12: note: previous declaration of ‘getopt’ with type
>> ‘int(void)’
>> 136 | extern int getopt ();
>> | ^~~~~~
>>
>> CC="gcc -std=gnu17" does work, but I wonder if there is a better fix, such as
>> https://sourceforge.net/p/xine/xine-ui/
>> ci/4f1829bedb9577003ff69995221352ce58721898/. I see that it was tagged by Bruce, so
>> I'll let him put in the solution!
> I'm sure there is a better fix, since the one I submitted just masks the problem by
> allowing the program to continue using deprecated constructs. This was just a 'get it
> working' fix
I don't think so. xine-ui-0.99.14 was released in January 2023. If there was a
problem it would have shown up by now. The issue with gcc15 is just changing the
default C standard back to where it was in gcc14.
-- Bruce
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page