bug-gnulib
[Top][All Lists]
Advanced

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

Re: Fwd: sed porting trouble


From: Paolo Bonzini
Subject: Re: Fwd: sed porting trouble
Date: Fri, 01 Oct 2010 14:14:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3

On 10/01/2010 01:19 PM, Schmitz, Joachim wrote:
OK, here we go:

cc -DHAVE_CONFIG_H -I. -I.. -I../lib -I.. -I../lib -I/usr/local/include -g
-E btowc.c>  i.c  shows (... denote empty lines):
#line 279 "/usr/local/Floss/sed-4.2.1/lib/../lib/stdint.h"
...
typedef int _verify_intmax_size[2 * (sizeof (gl_intmax_t) == sizeof
(gl_uintmax_t)) -
...
#line 62 "/usr/local/Floss/sed-4.2.1/lib/../lib/stdlib.h"
...
struct random_data
{

So apparently something is going wrong in stdint.h, it misses the "1];"
which is after a line break (i.e. after crah 80 in the terminal window).
That rings a bell, we have a "#pragma columns N", and /usr/include/stdint.h
(and other files in /usr/include too) for some stupid reason sets this to
80...

Ugh. Do you have any pointer to "#pragma columns" documentation? How far does its scope extend, i.e. why is it affecting gnulib's stdint.h?

Paolo



reply via email to

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