[Top][All Lists]

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

RE: Fwd: sed porting trouble

From: Schmitz, Joachim
Subject: RE: Fwd: sed porting trouble
Date: Sat, 2 Oct 2010 07:04:34 +0000

Hi Bruno

The problem is that the -Wcolumns=... doesn't seem to override the pragmas in 
the source.

I'd rather see lines of 80 chars or shorter than adding pragmas all over the 

That command of yours  gives 348 lines of output... I attached it.

Bye, Jojo
-----Original Message-----
From: Bruno Haible [mailto:address@hidden 
Sent: Friday, October 01, 2010 6:44 PM
To: Paolo Bonzini
Cc: Schmitz, Joachim; 'bug-gnulib'
Subject: Re: Fwd: sed porting trouble

Paolo Bonzini wrote:
> This basically means that the NonStop system includes (by enforcing 
> #pragma column 80) only expect to include other NonStop system includes. 
>   This is clearly not the case in gnulib.

Indeed. If there is no -Wcolumns=... flag was passed, and the main input file
did not contain a "#pragma COLUMN", then the only explanation for the error
is that some system include file included a file from gnulib.

>   So, it looks like we must  
> make sure that the system-header replacements have 80-columns lines.  Sigh.

Or we must add
 #ifdef __TANDEM
 # pragma COLUMN 10000
to some gnulib include files. To which ones?

Can you run this command, please?

  $ cd /usr/include
  $ grep '^ *# *include' `grep -li '# *pragma columns' *.h */*.h */*/*.h`


Attachment: pragma.list
Description: pragma.list

reply via email to

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