[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiler warnings for regex.c
From: |
Eli Zaretskii |
Subject: |
Re: compiler warnings for regex.c |
Date: |
Fri, 27 Oct 2000 12:32:42 +0200 |
> From: "Stefan Monnier" <monnier+gnu/address@hidden>
> Date: Thu, 26 Oct 2000 09:59:51 -0400
>
> > /project/mule/fsf-emacs/lib-src/../src/regex.c:5584: warning:
> > initialization discards qualifiers from pointer target type
> >
> > Are they harmless?
>
> No, they are not, which is why they're there.
> They mean that re_match is not reentrant.
Sorry, I don't understand. Why do we need to see a warning to know
that re_match is non-reentrant?
I think there should be no warnings during normal compilation.
Warnings should be taken care of, not disregarded; the latter obscures
real warnings.