[openbeos] Re: newsletter (syslog)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 15 Dec 2003 18:16:41 +0100 CET

"François Revol" <revol@xxxxxxx> wrote:
> > The header file syslog.h has been moved to the headers/posix 
> > directory, where all other POSIX headers reside. If you've 
> > previously used the full path of the old header ("#include 
> > <support/syslog.h>"), you might encounter errors when trying 
> > to compile your old code. The issue has not been finally 
> > decided on, but it probably won't change in the release version 
> > of our headers.
> What about
> 
> #ifndef _SUPPORT_SYSLOG_H
> #define _SUPPORT_SYSLOG_H
> 
> #warn You should use syslog.h from posix/!!!
> 
> #include <posix/syslog.h>
> 
> #endif
> 
> 
> (taken that posix/ appears first in the C_INCLUDE_PATH)
> ?

I'd be glad to break source compatibility in this case, though :)
It's not a big deal to change the include directive if necessary, and 
if you do it, it's backwards compatible anyway (I would consider the 
old location as broken).

Bye,
   Axel.


Other related posts: