Chris Sorenson
2013-01-24 07:09:08 UTC
Greets all,
I'm trying to compile on Silicon Graphics (IRIX O.S.)
using their MIPSPro 7.4
<pre>
cc-1028 CC: ERROR File = dialog.cc, Line = 180
The expression used must have a constant value.
memset(pm, '\0', sizeof(Fl_Menu_Item[n_it+1]));
^
</pre>
Thoughts?
memset(pm, '\0', (n_it+1)*sizeof(Fl_Menu_Item));I'm trying to compile on Silicon Graphics (IRIX O.S.)
using their MIPSPro 7.4
<pre>
cc-1028 CC: ERROR File = dialog.cc, Line = 180
The expression used must have a constant value.
memset(pm, '\0', sizeof(Fl_Menu_Item[n_it+1]));
^
</pre>
Thoughts?
--
Cheers
Jorge.-
Fourteen files compiled so far but then this happened in
fltkflatview.cc:
----------------------------------------------
cc-3168 CC: ERROR File = fltkui.cc, Line = 782
A name followed by "::" must be a class or namespace name.
bool
FltkToggleButtonResource<I>::FltkToggleButtonResource::isActivated
()
^
cc-1443 CC: ERROR File = fltkui.cc, Line = 782
"dw::fltk::ui::FltkToggleButtonResource<I>::FltkToggleButtonResource"
is not a
class template.
bool
FltkToggleButtonResource<I>::FltkToggleButtonResource::isActivated
()
^
2 errors detected in the compilation of "fltkflatview.cc".
-----------------------------------------------
Thoughts?