Trying to build default target in 13.1.0 source, and am hitting a
Pthreads are required error.
I have the .h and lib on my system, so not sure why hitting this error.
I goog'd the error and see nothing recent about why I'd get the error.
Any suggestions?
Please include me in response, as I'm n
On 2019/06/09 14:52, Zan Lynx wrote:
> I haven't tested it but you might be able to make this work with a comma
> operator like "while (gets(buf) || (exit(0), 1)) puts(buf);"
>
yes, I also tried that to verify whether or not I needed a work-around
for gets, though using
"xit(int s){ exit(s);}"
On 2019/06/09 14:52, Zan Lynx wrote:
> I am not a GCC developer, just a regular user of C. But I have some
> comments below:
>
> On 6/9/2019 3:21 PM, L A Walsh wrote:
>
>> If I have a function returning NULL on error (including EOF).
>>
>> So the program c
If I have a function returning NULL on error (including EOF).
So the program calls exit if the function doesn't return
a non-zero value (func() || exit(1)).
I have:
--/tmp/ex.c--
main() { char * buf[512];
while (gets(buf) || exit(0)) puts(buf);
}
-- compile w/:
gcc -fpermissive --no-warnin
Paul Smith wrote:
On Sat, 2017-01-21 at 13:25 -0800, L A Walsh wrote:
It may be this should go to "gcc-help", due to my
not seeing my error, but
Probably better to start there... if it's really a GCC bug you'll be
quickly redirected here.
for (i==0; i < s
It may be this should go to "gcc-help", due to my
not seeing my error, but
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.9/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info