/*
 *	pragma.h
 *
 *	Turn on warnings.
 */

#ifndef PRAGMA_DEFINED
#define	PRAGMA_DEFINED

/*lint -efile(766,c:\lib\pragma.h) */

/***
 ***	TurboC warning messages
 ***
 ***	Note:  The standard says that a compiler will quietly ignore
 ***	       #pragmas it does not know about.  Microsoft C generates
 ***	       warnings.  Thus, these are conditionally compiled #pragmas.
 ***
 ***	It would be nice to turn on some warning if a function is used without
 ***	it being seen as a function prototype.
 ***/
#ifdef __TURBOC__
#pragma	warn		+rvl	/* Function should return value		*/
#pragma	warn		+amb	/* Ambiguous operators need parentheses	*/
#pragma	warn		+amp	/* Superfluous & with function or array	*/
#pragma warn		+nod	/* No declaration for function XXX	*/
#pragma	warn		+pro	/* Call to function with no prototype	*/
#pragma warn		+use	/* XXX declared but never used		*/
#endif	/* __TURBOC__ */

#endif	/* PRAGMA_DEFINED */
