Subject: Re: location of signal prototypes, etc.
To: None <leonard@dstc.edu.au>
From: Joao Carlos Mendes Luis <jonny@gaia.coppe.ufrj.br>
List: tech-userlevel
Date: 05/28/1995 02:18:37
> > > 	* Merge <signal.h> and <sys/signal.h>; then make a symlink
> > > 	  between /usr/include/signal.h and /usr/include/sys/signal.h.
> > 
> > Does gcc suport something like #warning directive ?
> > 
> > If so, what aboud this <sys/signal.h>:
> > 
> > #ifndef _SYS_SIGNAL_H
> > #include <signal.h>
> > #warning "Use of sys/signal.h is obsolete."
> > #endif
> 
> don't know about #warning, but #error works

Yeah, but the severity is not enough to cancel compilation.
Just warn the user and continue compiling as if nothing happened.

I don't know how #error works, so if this is the behavior, sorry.

					Jonny

--
Joao Carlos Mendes Luis			jonny@coe.ufrj.br
+55 21 290-4698 ( Job )			jonny@adc.coppe.ufrj.br
Network Manager				UFRJ/COPPE/CISI
Universidade Federal do Rio de Janeiro