Re: [PATCH 1/4] Add history graph API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adam Simpkins
Date: Sunday, April 6, 2008 - 3:58 pm

On Sun, Apr 06, 2008 at 11:15:58PM +0100, Johannes Schindelin wrote:

Trying to compile the following test code with gcc 4.1.2 results in a
warning.

test.c:
	#include <stdio.h>
	
	void test(struct strbuf *sb);
	int main(int argc, char **argv)
	{
		test(NULL);
		return 0;
	}

$ gcc -c test.c
test.c:3: warning: ‘struct strbuf’ declared inside parameter list
test.c:3: warning: its scope is only this definition or declaration, which is probably not what you want

-- 
Adam Simpkins
adam@adamsimpkins.net
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/4] Add history graph API, Adam Simpkins, (Sun Apr 6, 11:42 am)
[PATCH 3/4] git log and git rev-list: Add --graph option, Adam Simpkins, (Sun Apr 6, 11:42 am)
Re: [PATCH 1/4] Add history graph API, Teemu Likonen, (Sun Apr 6, 1:30 pm)
Re: [PATCH 1/4] Add history graph API, Johannes Schindelin, (Sun Apr 6, 1:42 pm)
Re: [PATCH 1/4] Add history graph API, Johannes Schindelin, (Sun Apr 6, 2:06 pm)
Re: [PATCH 1/4] Add history graph API, Adam Simpkins, (Sun Apr 6, 2:44 pm)
Re: [PATCH 1/4] Add history graph API, Adam Simpkins, (Sun Apr 6, 3:04 pm)
Re: [PATCH 1/4] Add history graph API, Johannes Schindelin, (Sun Apr 6, 3:15 pm)
Re: [PATCH 1/4] Add history graph API, Adam Simpkins, (Sun Apr 6, 3:47 pm)
Re: [PATCH 1/4] Add history graph API, Adam Simpkins, (Sun Apr 6, 3:58 pm)
Re: [PATCH 1/4] Add history graph API, Junio C Hamano, (Sun Apr 6, 8:12 pm)
Re: [PATCH 1/4] Add history graph API, Teemu Likonen, (Sun Apr 6, 10:24 pm)
Re: [PATCH 1/4] Add history graph API, Teemu Likonen, (Mon Apr 7, 12:26 am)
[PATCH 1/4] graph API: Fixed coding style problems, Adam Simpkins, (Mon Apr 7, 1:01 am)
Re: [PATCH 1/4] Add history graph API, Adam Simpkins, (Mon Apr 7, 1:06 am)
Re: [PATCH 1/4] Add history graph API, Adam Simpkins, (Mon Apr 7, 1:34 am)
Re: [PATCH 1/4] Add history graph API, Teemu Likonen, (Mon Apr 7, 1:56 am)
Re: [PATCH 1/4] Add history graph API, Linus Torvalds, (Mon Apr 7, 9:15 am)