[comp.windows.x] Oddity in Intrinsic.h

fenn@wpi.WPI.EDU (Brian Fennell) (04/26/91)

	So I am reading Intrisic.h and I discover this gem...
	(What's wrong with this picture)

>#ifdef XTFUNCPROTO
>#undef NeedFunctionPrototypes
>#define NeedFunctionPrototypes 1
>#else
>#undef NeedFunctionPrototypes
>#define NeedFunctionPrototypes 0
>#undef NeedWidePrototypes
>#define NeedWidePrototypes 0
>#endif
>
	 now this is the real clever bit
>#ifndef NeedFunctionPrototypes
>#if defined(FUNCPROTO) || defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)
>#define NeedFunctionPrototypes 1
>#else
>#define NeedFunctionPrototypes 0
>#endif /* __STDC__ */
>#endif /* NeedFunctionPrototypes */

	Who should I tell about this... is it just our copy?

Brian Fennell == fenn@wpi.wpi.edu

swick@athena.mit.EDU (Ralph Swick) (04/26/91)

	Who should I tell about this... is it just our copy?

We already know (and it is fixed in next release).  No, it's not
just your copy; Xt function prototypes were not complete in R4 so
we chose to require an explicit configuration decision to use
them.  Patch level 18 fixed most of the errors but we decided not
to change the configuration option in mid-release.