emacs-devel
[Top][All Lists]
Advanced

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

Compilation fails with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE


From: Dmitry Antipov
Subject: Compilation fails with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE
Date: Tue, 11 Oct 2011 12:40:07 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

After changing GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE in src/s/gnu-linux.h,
compilation fails with a lot of errors looks like the following:

frame.c: In function ‘make_frame_without_minibuffer’:
frame.c:437:1: error: pasting "gcpro" and "1.next" does not give a valid 
preprocessing token
frame.c:437:1: error: invalid suffix "next" on floating constant
frame.c:437:1: error: ‘gcpro’ undeclared (first use in this function)
frame.c:437:1: note: each undeclared identifier is reported only once for each 
function it appears in
frame.c:437:11: error: expected ‘;’ before numeric constant
frame.c:437:1: error: pasting "gcpro" and "1.var" does not give a valid 
preprocessing token
frame.c:437:1: error: invalid suffix "var" on floating constant
frame.c:437:11: error: expected ‘;’ before numeric constant
frame.c:437:1: error: pasting "gcpro" and "1.nvars" does not give a valid 
preprocessing token
frame.c:437:1: error: invalid suffix "nvars" on floating constant
frame.c:437:11: error: expected ‘;’ before numeric constant

Fedora 15, gcc 4.6.1.

Is GC_USE_GCPROS_AS_BEFORE broken on the systems where GC_MAKE_GCPROS_NOOPS is 
supported?

Dmitry




reply via email to

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