[Top][All Lists]

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

bug#17773: AIX build errors with coreutils-8.22

From: Paul Eggert
Subject: bug#17773: AIX build errors with coreutils-8.22
Date: Wed, 18 Jun 2014 15:25:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Michael Felt wrote:
Curious why you are calling this a compiler bug.

Because it is a compiler bug. Try to compile (but not link) the attached file. Here's what I get on AIX 7.1 with xlc 12.1 and GCC 4.8.1.

$ gcc -c xlcbug1.c
$ xlc -c xlcbug1.c
"xlcbug1.c", line 22.39: 1506-045 (S) Undeclared identifier GL_FLT_PREC_BOUND.
"xlcbug1.c", line 22.23: 1506-1324 (S) Array size must have integer type.

There's nothing wrong with the program. The identifier is properly declared.

What is the origin of the _GL_* identifiers?

They're from Gnulib, but that's irrelevant to the compiler bug, as the attached file demonstrates.

Attachment: xlcbug1.c
Description: Text Data

reply via email to

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