[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: MICO 2.2.7 and gcc 2.95
From: Harri Porten <porten () tu-harburg ! de>
Date: 1999-08-02 12:59:26
[Download RAW message or body]
Matthias Elter wrote:
>
> Hi
>
> Has anybody similar problems compiling MICO 2.2.7 with gcc2.95?
>
> c++ -I../include -O -ftemplate-depth-42 -fno-exceptions -I/usr/local/include \
> -DPIC -fPIC -fexceptions -c transport.cc -o transport.pic.o
> transport.cc: In method `Boolean MICO::UDPTransport::connect(const CORBA::Address \
> *)': transport.cc:716: passing `const char *' as argument 1 of \
> `MICO::UDPTransport::write(void *, long int)' discards qualifiers
> transport.cc: In method `Long MICO::UDPTransport::read(void *, long int)':
> transport.cc:821: passing `const char *' as argument 1 of \
> `MICO::UDPTransport::write(void *, long int)' discards qualifiers
> transport.cc: In method `class CORBA::Transport * \
> MICO::UDPTransportServer::accept()': transport.cc:1082: passing `const char *' as \
> argument 1 of `MICO::UDPTransport::write(void *, long int)' discards qualifiers
Yes. Simply insert some (char*) casts and you should be fine. I reported
this bug on the mico-devel list. No idea if they're going to fix it with
the next release.
Harri.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic