tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] tiny bit of lint


From: Larry Doolittle
Subject: Re: [Tinycc-devel] tiny bit of lint
Date: Tue, 9 May 2017 09:48:08 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

grischka -

On Tue, May 09, 2017 at 05:44:28PM +0200, grischka wrote:
> If people are going to use clang more likely, can't you add something
> to configure for clang to turn off some silly warnings?
> That would be USEFUL, for example ;)

The clang flag to turn off this warning is -Wno-string-plus-int

That brings up another issue, which is that tinycc's cute little
configure script that figures out which warning (or lack of warning)
flags are compatible with $CC doesn't work with clang.

I have no opinion on whether adding the nice plural to two tinycc
messages is worth the extra space and time.  I don't think that
((i > 1) ? "s" : "") is a good choice.  Any of "s" + (i<2),
&"s"[i<2], and just a universal plural "symbols" (like it was
before 2d3b9559 from Feb 2017) is fine with me.

This is a lot of discussion for two lines of code.  I guess that's
mostly my fault, too.

  - Larry



reply via email to

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