emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warnings when compiling Emacs


From: Eli Zaretskii
Subject: Re: warnings when compiling Emacs
Date: Fri, 16 May 2003 14:56:47 +0300

> From: John Paul Wallington <address@hidden>
> Date: Thu, 15 May 2003 22:36:55 +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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]