All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu CASTET <castet.matthieu@free.fr>
To: git@vger.kernel.org
Subject: Re: [PATCH] Make git compile with SUNs forte12 compiler
Date: Sun, 13 May 2007 09:47:32 +0000 (UTC)	[thread overview]
Message-ID: <pan.2007.05.13.09.47.32@free.fr> (raw)
In-Reply-To: 11790057101792-git-send-email-sithglan@stud.uni-erlangen.de

Hi,

On Sat, 12 May 2007 23:35:10 +0200, Thomas Glanzmann wrote:

> This patch moves two inline functions from a header file to the
> corresponding c file. Otherwise forte12 refuses to compile git with the
> following error:
> 
Did you understand what you did ?

You can't put a inline global function in a *.c : you need to put it in 
the header so that when parsing other files the compiler finds the 
definition and can inline it.

In your patch, you transform a static inline function to a global 
function whith is not the same thing...


Matthieu

  reply	other threads:[~2007-05-13  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12 21:35 [PATCH] Make git compile with SUNs forte12 compiler Thomas Glanzmann
2007-05-13  9:47 ` Matthieu CASTET [this message]
2007-05-13 10:30   ` Thomas Glanzmann
2007-05-13 12:52     ` matthieu castet
2007-05-13 10:39 ` Johannes Schindelin
2007-05-13 10:52   ` Thomas Glanzmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2007.05.13.09.47.32@free.fr \
    --to=castet.matthieu@free.fr \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.