[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warnings when compiling Emacs
From: |
John Paul Wallington |
Subject: |
Re: warnings when compiling Emacs |
Date: |
Fri, 16 May 2003 15:43:13 +0100 |
> > Compiling Emacs (on Debian unstable - powerpc-unknown-linux-gnu)
> > gives these warnings:
> >
> > gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I.
> > -I/build/emacs/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 alloc.c
> > alloc.c: In function `Fgarbage_collect':
> > alloc.c:4218: warning: passing arg 1 of `mark_object' discards qualifiers
> > from pointer target type
> > alloc.c:4219: warning: passing arg 1 of `mark_object' discards qualifiers
> > from pointer target type
>
> Ah, those const vs non-const pointers pointers!
>
> What does "gcc --version" say on that system?
gcc (GCC) 3.2.3 20030415 (Debian prerelease).