Re: xine-ui-0.99.14
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
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! - Doug -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page