* lib/quotearg.h (get_quoting_style): Mark parameter as const.
* lib/quotearg.c (get_quoting_style): Likewise.
---
ChangeLog | 6 ++
lib/quotearg.c | 2 +-
lib/quotearg.h | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2b8276f..81c5391 10
FYI I just noticed this when compiling coreutils with GCC 5.1.1
test-intprops.c: In function 'main':
test-intprops.c:199:3: error: string length '5031' is greater than the length
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
CHECK_BINOP (/, DIVIDE, INT_MIN, -1,
On 11/03/2015 02:32 AM, Paul Eggert wrote:
> Pedro Alves wrote:
>> Instead of trying to detect the right types, detect
>> good-enough-pre-C++11 stdint.h and in such case make the substitute
>> stdint.h just wrap the system's stdint.h with
>> __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined.
>
>
On 11/03/2015 02:45 PM, Pedro Alves wrote:
> On 11/03/2015 02:32 AM, Paul Eggert wrote:
>> Pedro Alves wrote:
>>> Instead of trying to detect the right types, detect
>>> good-enough-pre-C++11 stdint.h and in such case make the substitute
>>> stdint.h just wrap the system's stdint.h with
>>> __STDC_
On Tue, Nov 3, 2015 at 5:26 AM, Pádraig Brady wrote:
> FYI I just noticed this when compiling coreutils with GCC 5.1.1
>
> test-intprops.c: In function 'main':
> test-intprops.c:199:3: error: string length '5031' is greater than the length
> '4095' ISO C99 compilers are required to support [-Werr