[blfs-support] VLC compile error: only allowed in C99 or C11 mode

2019-11-27 Thread Wayne Sallee via blfs-support
For anyone else that might run into this problem, I updated VLC to a newer version, and got the compile error "loop initial declarations are only allowed in C99 or C11 mode". I got it working by changing: BUILDCC=gcc ./configure --prefix=/usr    \ to: BUILDCC="gcc -std=gnu99" ./configure

Re: [blfs-support] Question about cstdlib in gcc

2019-11-27 Thread Pierre Labastie via blfs-support
Le 27/11/2019 à 18:23, Christopher Gregory via blfs-support a écrit : > > >> Sent: Thursday, November 28, 2019 at 5:52 AM >> From: "Christopher Gregory via blfs-support" >> >> To: blfs-support@lists.linuxfromscratch.org >> Cc: "Christopher Gregory" >> Subject: Re: [blfs-support] Question

Re: [blfs-support] Question about cstdlib in gcc

2019-11-27 Thread Christopher Gregory via blfs-support
> Sent: Thursday, November 28, 2019 at 5:52 AM > From: "Christopher Gregory via blfs-support" > > To: blfs-support@lists.linuxfromscratch.org > Cc: "Christopher Gregory" > Subject: Re: [blfs-support] Question about cstdlib in gcc > > > > > Sent: Thursday, November 28, 2019 at 4:06 AM > >

Re: [blfs-support] Question about cstdlib in gcc

2019-11-27 Thread Christopher Gregory via blfs-support
> Sent: Thursday, November 28, 2019 at 4:06 AM > From: "Pierre Labastie via blfs-support" > > To: blfs-support@lists.linuxfromscratch.org > Cc: "Pierre Labastie" > Subject: Re: [blfs-support] Question about cstdlib in gcc > > Le 27/11/2019 à 14:39, Christopher Gregory via blfs-support a écrit 

Re: [blfs-support] Question about cstdlib in gcc

2019-11-27 Thread Pierre Labastie via blfs-support
Le 27/11/2019 à 14:39, Christopher Gregory via blfs-support a écrit : > Hello, > > Whilst attempting to build kmahjonn, I had to compile lex_common, and I got a > build failure: > > /usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or > directory 75 | #include_next >

[blfs-support] Question about cstdlib in gcc

2019-11-27 Thread Christopher Gregory via blfs-support
Hello, Whilst attempting to build kmahjonn, I had to compile lex_common, and I got a build failure: /usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory 75 | #include_next I edited the cstlib file and removed the _next and also in one other file that