bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _FILE_OFFSET_BITS problem on Solaris 10 due to new stdbool.h handlin


From: Bruno Haible
Subject: Re: _FILE_OFFSET_BITS problem on Solaris 10 due to new stdbool.h handling
Date: Sun, 22 Jan 2023 11:39:19 +0100

Paul Eggert wrote:
> I ran into a problem on Solaris 10 gcc

Thanks. I reproduce it on Solaris 10, 32-bit mode, with cc but not with gcc:

  cc -D_STDC_C99= -O -DHAVE_CONFIG_H -I. -I../../gllib -I..  
-DGNULIB_STRICT_CHECKING=1  -I/home/haible/prefix-x86/include -D_REENTRANT  -g 
-c -o stackvma.o ../../gllib/stackvma.c
  "/usr/include/stdio.h", line 321: syntax error before or at: off_t

In GNU libsigsegv, there is nothing to do because libsigsegv does not set
_FILE_OFFSET_BITS=64. But for 'grep', evidently, it is important to be able
to access files larger than 2 GB.

I propagated the fix to the two stable branches.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]