Re: [gtk-list] Re: compiling gtk+ on solaris



Erik Mouw wrote:
> On Thu, 23 Dec 1999 15:43:07 +0100, Drazen Kacar wrote:
> > Erik Mouw wrote:
> 
> I think that omitting the return type is valid in C, but invalid in C++.
> Therefore, lint is correct, and Sun CC is not.
> 
> 

Erik,

You're sort of correct. Omitting the return type is illegal in C++,
legal in Kernighan & Richie C, legal in the existing ANSI C Standard,
but it is illegal in the proposed, revised ANSI C Standard, which
gcc-2.95.? are based on.

The Open Group's header files *will* be illegal soon, for all
conforming modern C compilers. Ditto many of the system header files
on SunOS 4.1.x. The SunView header files are an absolute joke in
this respect.

I expect the Open Group to clean up their act - but you'll never
persuade Sun to do anything about a "dead" operating system like
4.1.4 - and as long as you use the SunOS OpenWindows distribution
you're gonna hit these problems in a big way.

-Andy

-- 
Andy Walker                              Kvaerner Oil & Gas a.s.
andy@lysaker.kvaerner.no                 P.O. Box 222,
Andrew.Walker@kvaerner.com               N-1324 Lysaker, Norway

   ......if the answer isn't violence, neither is your silence......



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