Re: [PATCH] Remove more gcc extension usage.

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

 



On Mon, 2006-07-10 01:22:55 -0400, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:
> > On Sat, 2006-07-08 15:03:27 -0400, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:
> > > Monday I'll look to see if there's an option that can be given to
> > > the Solaris compiler to make it accept these constructs.  Maybe a
> > > simple CFLAGS change in my config.mak would resolve what this patch
> > > was trying to do.
> 
> So neither of the constructs my patch removes are supported in this
> (old) compiler, although a newer one might accept them with -xc99.
> Yes, I tried building a pristine git-1.4.1 with -xc99.  It barfed,
> as one would expect given the description above.
> 
> Since we don't have a newer version of cc available (not sure why)
> I'm stuck with needing to make the code changes in my patch just
> to get GIT to compile.

What about installing a compiler that implements more of C99, like
installing a gcc instance? I guess you're on a Sun system, there
should be precompiled binaries available.

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@xxxxxxxxxx    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


[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]