git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Wrap RUNTIME_PREFIX warning in a compile-time condition

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Feb 23, 2010, 10:10 UTC
Message-ID
<4B83A9A2.5080500@viscovery.net>
In-Reply-To
<alpine.DEB.1.00.1002231103170.20986@pacific.mpi-cbg.de>
Johannes Schindelin schrieb:
Show 13 quoted lines
> On Tue, 23 Feb 2010, Johannes Sixt wrote:
>> Johannes Schindelin schrieb:
>>> On Tue, 23 Feb 2010, Johannes Sixt wrote:
>>>> With this patch, individual developers can disable the warning by setting
>>>>
>>>>    BASIC_CFLAGS += -DNO_WARN_RUNTIME_PREFIX
>>>>
>>>> in config.mak.
>>> Would this option not prefer to be a runtime option?
>> No. The warning is utterly useless IMO and extremely annoying, and the
>> only reason that it still survives is because you disagree. ;-)
> 
> I have been convinced of things before. It just takes a good argument.
The good argument is:

With this patch in upstream git, I have more time to spend on testing topics from pu and to write new topics on top of vanilla master because I don't need to apply my private patch all over the place (and back it out before I submit patches).

Whether the option is compile-time or runtime is secondary. The option is *for me*,[*] and I prefer it compile-time. *For you* nothing changes regardless of compile-time or runtime (or do you think you would set the option?).

[*] As I said, nobody else seems to complain.
-- Hannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 8 in “Wrap RUNTIME_PREFIX warning in a compile-time condition”
  1. Wrap RUNTIME_PREFIX warning in a compile-time conditionJohannes Sixt, Feb 23, 2010
  2. Johannes SchindelinFeb 23, 2010
  3. Johannes SixtFeb 23, 2010
  4. Johannes SchindelinFeb 23, 2010
  5. Johannes SixtFeb 23, 2010
  6. Johannes SchindelinFeb 23, 2010
  7. Print RUNTIME_PREFIX warning only when GIT_TRACE is setJohannes Sixt, Feb 23, 2010
  8. Johannes SchindelinFeb 23, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.