Date: Fri, 5 May 1995 08:20:06 -0400 (EDT) From: Richard Toren <rpt@miles.sso.loral.com> To: Terry Lambert <terry@cs.weber.edu> Cc: Bruce Evans <bde@zeta.org.au>, hackers@FreeBSD.org, j@uriah.heep.sax.de Subject: Re: GNU cpp bug with pthreads Message-ID: <Pine.SUN.3.91.950505081709.15400B-100000@miles> In-Reply-To: <9505041814.AA08811@cs.weber.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On the topic of #if, I have stayed away from it because i have found a number of 'makedepend' variants that don't recognise '#if !defined ...' at all. 'makedepend' is too important a tool on large projects to be ignored. Even if it works on this system, it may not on the next (port=clone=plagerise?). ==================================================== Rip Toren | The bad news is that C++ is not an object-oriented | rpt@miles.sso.loral.com | programming language. .... The good news is that | | C++ supports object-oriented programming. | | C++ Programming & Fundamental Concepts | | by Anderson & Heinze | ==================================================== On Thu, 4 May 1995, Terry Lambert wrote: > > >On the other hand, #if is not necessarily a valid directive in older > > >preprocessers. > > > > Older than K&R1 (1978)? FreeBSD doesn't attempt to support those. > > I didn't say that I didn't personally use '#if' (although I don't use > '#elif', and would have liked a '#ifclude' to include files only if > they were there...). > > Oh, in traditional mode, the Sun transitional compiler doesn't take > void, const, or volatile, but will take prototypes. > > In non-traditional mode (__STDC__ == 1), it accepts all of them. > > In fasciest mode, the AIX compiler (__STDC__ == 2) will not take non > prototype function declartions (ie: no compatability for formal > function declarations). > > > Terry Lambert > terry@cs.weber.edu > --- > Any opinions in this posting are my own and not those of my present > or previous employers. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.950505081709.15400B-100000>