This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eliminating warnings
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Christoph Csebits <christoph dot csebits at frequentis dot com>
- Cc: eCos mailing list <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 13 Feb 2002 12:15:38 +0000
- Subject: Re: [ECOS] eliminating warnings
- Organization: Red Hat UK Ltd.
- References: <20020207151203.A21613@frequentis.com>
Christoph Csebits wrote:
>
> hi
>
> tracing with CYG_TRACE0 ( and related ) i get these warnings
> > warning: deprecated conversion from string constant to `char *'
>
> how about changing "char *psz_msg" in the cyg_tracemsg (and related)
> functions to "const char *psz_msg"?
>
> any resulting drawbacks?
A patch is a more reliable way to get a change made :-). But in this case
I've made it anyway, and it should be in ecos 2.0.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss