I am trying to build octave 3.4.3 with Intel C compiler, OS is SuSE
Linux ent. server 10 64-bit.
The build crashes here in:
../liboctave/oct-inttypes.h(148): remark #981: operands are evaluated in unspecified order
REGISTER_OCTAVE_CMP_OP (eq, ==);
^
detected during:
instantiation of "bool octave_int_cmp_op::uiop<xop,
size>::op(query_integer_type<size, true>::type,
query_integer_type<size, true>::type) [with
xop=octave_int_cmp_op::eq, size=4]" at line
161
instantiation of "bool
octave_int_cmp_op::op<xop,T1,T2>(T1, T2) [with
xop=octave_int_cmp_op::eq, T1=gl_uint8_t={unsigned char},
T2=gl_uint8_t={unsigned char}]" at line 896
instantiation
of "bool operator==(const octave_int<T> &, const
octave_int<T2> &) [with T1=gl_uint8_t={unsigned char},
T2=gl_uint8_t={unsigned char}]" at line 1420 of "
gl-render.cc"
compilation aborted for gl-render.cc (code 2)
gmake[3]: *** [liboctinterp_la-gl-render.lo] Error 1
gmake[3]: Leaving directory `/tmp/itoufiqu/octave-build/octave-3.4.3/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/itoufiqu/octave-build/octave-3.4.3/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/itoufiqu/octave-build/octave-3.4.3'
gmake: *** [all] Error
2
I did a grep on all the errors related to gl-render.cc and graphics.h:
graphics.h(2041): error: identifier "__myhandle__" is undefined
graphics.h(2069): error: identifier "is___modified__" is undefined
graphics.h(2073): error: identifier "children" is undefined
graphics.h(2079): error: identifier "children" is undefined
graphics.h(2098): error: identifier "tag" is undefined
graphics.h(2104): error: identifier "children" is undefined
graphics.h(2109): error: identifier "children" is undefined
graphics.h(2114): error: identifier "children" is undefined
graphics.h(2119): error: identifier "__modified__" is undefined
graphics.h(2121): error: identifier "parent" is undefined
graphics.h(2133): error: identifier "children" is undefined
graphics.h(2157): error: identifier "handlevisibility" is undefined
graphics.h(2341): error: class "base_properties" has no member "get_parent"
graphics.h(2352):
error: class "base_properties" has no member "get___myhandle__"
graphics.h(3133): error: identifier "__myhandle__" is undefined
graphics.h(3135): error: identifier "__graphics_toolkit__" is undefined
graphics.h(3300): error: identifier "colormap" is undefined
graphics.h(3301): error: identifier "alphamap" is undefined
graphics.h(3302): error: identifier "paperposition" is undefined
graphics.h(3303): error: identifier "pointershapecdata" is undefined
graphics.h(3304): error: identifier "pointershapehotspot" is undefined
graphics.h(3305): error: identifier "position" is undefined
graphics.h(6659): error: class "text::properties" has no member "set_clipping"
gl-render.cc(603): error: class "figure::properties" has no member "get_color_rgb"
gl-render.cc(804): error: class "axes::properties" has no member "is_visible"
gl-render.cc(852): error: class "axes::properties" has no member "get_tag"
gl-render.cc(859): error:
class "axes::properties" has no member "is_visible"
gl-render.cc(957): error: class "axes::properties" has no member "is_visible"
gl-render.cc(1064): error: class "axes::properties" has no member "is_visible"
gl-render.cc(1161): error: class "axes::properties" has no member "is_visible"
gl-render.cc(1305): error: class "base_properties" has no member "is_visible"
gl-render.cc(1325): error: class "base_properties" has no member "is_clipping"
gl-render.cc(1342): error: class "base_properties" has no member "is_clipping"
gl-render.cc(1393): error: class "line::properties" has no member "is_clipping"
gl-render.cc(1503): error: class "line::properties" has no member "is_clipping"
gl-render.cc(2506): error: class "image::properties" has no member "is_clipping"
I am not sure what's causing this, so, please give me a hand here, as I need to get this up and going.
thanks a bunch.