[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CommonC++ on HP-UX
From: |
David Sugar |
Subject: |
Re: CommonC++ on HP-UX |
Date: |
Wed, 21 Nov 2001 19:34:14 -0500 (EST) |
I have changed url.cpp because I think it's a bit cleaner to do the second
one with a const char, and to not assign a literal in the first one. I am
going to look thru the rest of this, and probably create a
"configure_hpux" script out of your "configure_start", so people have a
better idea as to why it exists. But I will have to look thru this all
first...and try to get some of these things done for the next release.
David
On Wed, 21 Nov 2001, Peter Koerber wrote:
> Hello together,
>
> i have to do some programming with sockets on a HP-UX 11.0 machine, so i
> have tried to install the CommonC++ package from OpenSource. After some
> difficulties i was happy to get the shared libraries installed. Some changes
> to the source files and some changes to the scripts 'configure' and
> 'ltconfig' have been made.
>
> I call the script 'configure' via a script 'start_configure'. I have
> described all changes that i have made to files of the CommonC++-package
> within the script 'start_configure' and enclose it; also the output
> config.log, configure.out (stdout) and config.cache is enclosed.
>
> For lots of casts to:
> 'struct sockaddr *'
> the compiler warns: "The cast from 'sockaddr_in *' to 'sockaddr *' is
> performed as a 'reinterpret_cast'. This operation is non-portable and
> potentially unsafe.", but i haven't changed these casts.
>
> In url.cpp occur two warnings because of initializing a non-const char* with
> a literal (line 316 and line 641).
>
> I am the opposite of a UNIX-Guru (and i do normally cross development under
> Windows2000), so i probably have made some mistakes.
>
> With best reguards Peter Koerber
>
> PS: Sorry for my bad English.
> ==============================
> Dr. Peter Koerber
> ExperTeam AG
> Emil-Figge-Str. 85
> 44227 Dortmund
> Germany
>
> Tel. 0231 / 9704-257
> Fax 0231 / 9704-288
> E-Mail: address@hidden
> Web: www.ExperTeam.de
> ==============================
>
>
>