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

Re: [PATCH] Remove more gcc extension usage.

From
Junio C Hamano <junkio@cox.net>
Date
Jul 8, 2006, 18:51 UTC
Message-ID
<7vy7v4orpt.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060708183402.GA17644@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
> Removing these last remaining extension uses allows GIT to compile
> with the Sun C compiler rather then gcc.  This can be handy when
> you are trying to compile GIT on a Solaris system that seems to
> have a total lack of GNU utilities.
Two points.
 - Aren't the constructs you ripped out not GCC extension,
   rather proper ISO C99?
 - Our Makefile is pretty GNU already.  I think people have
   pointed out and ripped out bashisms from our shell scripts,
   but I would not be surprised if the default Sun /bin/sh does
   not understand POSIXy features some of them use.
Previous: Shawn PearceNext: Shawn Pearce
Message 2 of 15 in “Remove more gcc extension usage.”
  1. Remove more gcc extension usage.Shawn Pearce, Jul 8, 2006
  2. Junio C HamanoJul 8, 2006
  3. Shawn PearceJul 8, 2006
  4. Jan-Benedict GlawJul 9, 2006
  5. Shawn PearceJul 10, 2006
  6. Jan-Benedict GlawJul 10, 2006
  7. Pavel RoskinJul 10, 2006
  8. Jan-Benedict GlawJul 10, 2006
  9. Pavel RoskinJul 10, 2006
  10. Jan-Benedict GlawJul 10, 2006
  11. Pavel RoskinJul 10, 2006
  12. Junio C HamanoJul 10, 2006
  13. Jan-Benedict GlawJul 10, 2006
  14. Junio C HamanoJul 10, 2006
  15. Paul JakmaJul 12, 2006

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.