bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: LynxOS 3.1.1 Port


From: Pierre Bacquet
Subject: RE: LynxOS 3.1.1 Port
Date: Thu, 13 Feb 2003 08:53:46 +0100

Joel,

> I am entering the test phase of my port of Common C++ to LynxOS
> 3.1.1.  I am filing the appropriate paperwork with the FSF but
> for now want to get some feedback on some porting issues and
> how to do them more cleanly.  Right now, there are a handful
> of __Lynx__ conditionals I want to eliminate.
> 
> (2) inet_aton(char *, .. )     not inet_aton(const char *, ..)
>     gethostbyname(char *, .. ) not gethostbyname(const char *, ..)
>     openlog(char *,..)         not openlog(const char *, ..)
> 
> Again how to detect and deal with this without stopping to 
> ifdef __Lynx__.

Well, taking into account the fact that these 3 functions shouldn't
change their "char *" arg., hence the const keyword, one possible
action would be to patch the LynxOS headers to change the signature
and send the patched files to LynxOS maintainers for possible
consideration.

Cheers,

Pierre.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]