[Geany-devel] msgwin line and column position [was: Expose yellow wavy line in GeanyIndicators]

Colomban Wendling lists.ban at xxxxx
Sun Aug 14 23:13:28 UTC 2011


Le 15/08/2011 01:05, Lex Trotman a écrit :
>> It's IMHO important not to depend on GNU grep, AFAIK even BSDs will not
>> have it, at least by default (though maybe the implement some of the GNU
>> grep's features, don't know).
>>
> 
> +1
> 
>>> [...]
> 
>>
>> -fshow-column
>>
> 
> There is a documented -fno-show-column for the preprocessor only.
> Clang documents -fshow-column.  The GCC mailing lists seem to suggest
> it exists, but until it is documented...

the man says that most options (I thing there is details about which
ones do) have a "no-" variants, and IIRC that only the non-default is
listed. AFAIK -fshow-column is the default since GGC 4.5, maybe you have
checked a doc for GCC >= 4.5?

> Maybe because which errors get columns is variable, until most have
> the feature its not official yet.
> 
>>> And I still claim that (at least for C++) the line number is only
>>> approximate anyway :-)
>>
>> For C it's pretty relevant :)
> 
> Yes well, it doesn't have templates, but then macros and missing
> brackets confuse it too.

Well, when a macro is used and it's the expanded code that triggers the
warning, yes the line is the one at which the macro is used without
further details on where in the expanded macro the problem is.

Cheers,
Colomban



More information about the Devel mailing list