Re: [PATCH] Remove more gcc extension usage.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shawn Pearce <spearce@xxxxxxxxxxx> 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.



-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]