lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev [PATCH][dev19] Fix for Sun's cc


From: pg
Subject: Re: lynx-dev [PATCH][dev19] Fix for Sun's cc
Date: Sat, 13 Mar 1999 12:18:56 -0700 (MST)

In a recent note, John Bley said:

> Date: Sat, 13 Mar 1999 12:21:03 -0500 (EST)
> 
> It always bothered me that I couldn't compile lynx with 
> Sun's "cc: SC4.0 18 Oct 1995 C 4.0" default compiler, so I decided to 
> find out why it wasn't working.  Turns out that gcc will let you 
> initialize a static struct inline with a function call, but Sun's 
> compiler won't.  I'm not sure what the standard says, but, hey, this 
> works with both of them.
> 
I found the problem to be not a function, but a cast.

This is remarkably similar to:

   Linkname: Re: lynx-dev lynx2.8.2dev.18 UCdomap.c on OS/390
        URL: http://www.flora.org/lynx-dev/html/month0399/msg00258.html

Which includes a couple citations from the ANSI standard.

Hey, I think it means we're on the right track!  :-)

-- gil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]