[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile 1.4 compilation error with gcc4
From: |
Thien-Thi Nguyen |
Subject: |
Re: guile 1.4 compilation error with gcc4 |
Date: |
Sat, 20 Aug 2005 20:03:03 -0400 |
From: Aaron Voisine <address@hidden>
Date: Sat, 20 Aug 2005 14:38:16 -0700
scm_make_gsubr (s_ ## scm_acons, 3, 0, 0, (SCM (*)()) scm_acons);
configure options as follows:
export LIBRARY_PATH=/sw/lib
export CPPFLAGS=-no-cpp-precomp
export CPATH=/sw/include
./configure --prefix=/sw --infodir=/sw/share/info
on first glance, the CPPFLAGS looks suspicious. the ## is supposed to
"glue" the tokens surrounding it together producing a single identifier,
in this case `s_scm_acons', during the C preprocessing pass. thus
options that disable (or otherwise inhibit normal operation) of the C
preprocessor are questionable. what happens when you configure without
setting CPPFLAGS? (why is it necessary to set it?)
and the configure output: [...]
ok, i'll save this to compare w/ the non-CPPFLAGS output (unless we get
lucky and things magically work w/o further investigation :-).
thi