Discussion:
compilation error in fltkflatview.cc
Chris Sorenson
2013-09-02 00:01:55 UTC
Permalink
Greets all,

As I've mentioned previously I'm trying to compile
dillo-3.0.3 on Silicon Graphics using the SGI MIPSpro
compiler. I'm doing this for a large group of SGI users who
reside at nekochan.net. The compilation fails in line 884 in
fltkflatview.cc:

----------
cc-3168 CC: ERROR File = fltkui.cc, Line = 884
A name followed by "::" must be a class or namespace name.

bool
FltkToggleButtonResource<I>::FltkToggleButtonResource::isActivated
()
^

cc-1443 CC: ERROR File = fltkui.cc, Line = 884

"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".
----------

I suspect it needs a 'using namespace' or somesuch here,
thoughts?

Thanks a bunch!
corvid
2013-09-02 03:48:17 UTC
Permalink
Post by Chris Sorenson
As I've mentioned previously I'm trying to compile
dillo-3.0.3 on Silicon Graphics using the SGI MIPSpro
compiler. I'm doing this for a large group of SGI users who
reside at nekochan.net. The compilation fails in line 884 in
----------
cc-3168 CC: ERROR File = fltkui.cc, Line = 884
A name followed by "::" must be a class or namespace name.
bool
FltkToggleButtonResource<I>::FltkToggleButtonResource::isActivated
()
^
cc-1443 CC: ERROR File = fltkui.cc, Line = 884
"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".
----------
I suspect it needs a 'using namespace' or somesuch here,
thoughts?
I thought this sounded a little familiar, and I was able to find
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2013-January/009809.html
that we'd been through this before.

I think last time I was waiting to see whether anyone reported that
it didn't work for them, or that dw originally had that for a deep
reason, and then I eventually forgot about it. This time I'll commit
it, and we'll find out.
Chris Sorenson
2013-09-02 08:27:48 UTC
Permalink
Post by corvid
Post by Chris Sorenson
2 errors detected in the compilation of
"fltkflatview.cc". ----------
I suspect it needs a 'using namespace' or somesuch here,
thoughts?
I thought this sounded a little familiar, and I was able
to find
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2013-January/009809.html
Post by corvid
that we'd been through this before.
I think last time I was waiting to see whether anyone
reported that it didn't work for them, or that dw
originally had that for a deep reason, and then I
eventually forgot about it. This time I'll commit it, and
we'll find out.
Sorry I didn't realize this was the same question I posted
about before since I assumed that that fix had been
committed and back then I was working with pre-3.0 sources,
anyway thanks!

Loading...