[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Intel icc finds too many errors in guile 1.8.8 to compile
From: |
I . Gutheil |
Subject: |
Intel icc finds too many errors in guile 1.8.8 to compile |
Date: |
Fri, 28 Aug 2009 11:22:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 |
Hello all,
did anyone try to compile the guile codes with another compiler but the gcc?
When I tried to use the icc, I got
gen-scmconfig.c(257): error #279: controlling expression is constant
if (SCM_I_GSC_C_INLINE)
^
gen-scmconfig.c(321): error #279: controlling expression is constant
if (SCM_I_GSC_T_INT64)
^
gen-scmconfig.c(333): error #279: controlling expression is constant
if (SCM_I_GSC_T_UINT64)
So I had to change the
if (SCM_I_GSC_T_UINT64)
to
#ifdef (SCM_I_GSC_T_UINT64)
#else
#endif
because these directives had nun-numerical values.
The next problem occured with
debug.c(62): error #188: enumerated type mixed with another type
scm_dynwind_begin (0);
This could be "corrected" by declaring
in dynwind.h
SCM_API void scm_dynwind_begin (int) instead of the derived datatype
which could only be 1
and in dynwind.c
void
scm_dynwind_begin (int flags)
...
I get a lot of remarks that
operands are evaluated in unspecified order
and
remark #193: zero used for undefined preprocessing identifier
"HAVE_SYS_STDTYPES_H"
(for example)
but finally I came to a compiler error which I could not correct:
eval.c(4114): error #589: transfer of control bypasses initialization of:
variable "orig_sym" (declared at line 4038)
goto handle_a_macro;
^
And just for eval.c I get about 700 remarks like
eval.c(6021): remark #981: operands are evaluated in unspecified order
return SCM_I_XEVAL (x, env);
^
(which is the last one)
So I think I have to switch to gcc and just accept what gcc is making of
that code??
Any better idea?
P.S. I do not use the guile package myself but I want to install it for
someone who wants to use meep on a Nehalem Cluster here in Juelich.
Sincerely
Inge Gutheil
--
Inge Gutheil
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany
Phone: +49-2461-61-3135
Fax: +49-2461-61-6656
E-mail: address@hidden
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Intel icc finds too many errors in guile 1.8.8 to compile,
I . Gutheil <=