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

Re: [PATCH] Make git compile with SUNs forte12 compiler

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 13, 2007, 10:39 UTC
Message-ID
<Pine.LNX.4.64.0705131238420.6410@racer.site>
In-Reply-To
<11790057101792-git-send-email-sithglan@stud.uni-erlangen.de>
Hi,
On Sat, 12 May 2007, Thomas Glanzmann wrote:
> This patch moves two inline functions from a header file to the 
> corresponding c file.

I think that it is wrong to move inline functions out of a header file. Many C compilers will not be able to inline it then.

A better solution (IMHO) is to make it "static inline".

Ciao, Dscho

Previous: matthieu castetNext: Thomas Glanzmann
Message 5 of 6 in “Make git compile with SUNs forte12 compiler”
  1. Make git compile with SUNs forte12 compilerThomas Glanzmann, May 12, 2007
  2. Matthieu CASTETMay 13, 2007
  3. Thomas GlanzmannMay 13, 2007
  4. matthieu castetMay 13, 2007
  5. Johannes SchindelinMay 13, 2007
  6. Thomas GlanzmannMay 13, 2007

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.