Hi all,
On Mon, 30 Oct 2006, Akos Balazs wrote:
> Hi all,
>
> On Fri, 27 Oct 2006, Akos Balazs wrote:
>
>> I've run into some problems while trying to compile the current
>> dailybuild (27.10.2006). One is an old problem in
>> OSGExtrusionGeometry.cpp the subdivide() templated function which should
>> not be declared static (in order to compile with icc in
>> standards-compliance mode, other compilers seem to grok it) and some
>> missing ``friends'' declarations in OSGPipelineComposer.h (which is
>> definitely a bug, I'm still not 100% convinced about the one in
>> OSGExtrusionGeometrycpp). I'd appreciate it if someone would apply the
>> attached patches.
> Following up on myself, it seems that Dirk applied the patches I sent last
> year in revision 1.11, but Gerrit undid them in revision 1.12 (the current
> revision for 1.x) with the logline "solaris sun studio 11 compile
> problems". Gerrit, could you possibly comment on this and maybe try out
> the patch I sent to the list on friday (it's slightly different from the
> old patch, as actually only one of the subdivide() functions has to be
> non-static) ?
Back to my favourite topic, I just got an update from Intel saying their
compilers are fine and the code shouldn't compile as is according to the
standard:
4.6.4.2 Candidate functions [temp.dep.candidate]
1 For a function call that depends on a template parameter, if the
function name is an unqualified-id
but not a template-id, the candidate functions are found using the usual
lookup rules (3.4.1, 3.4.2) except that:
- For the part of the lookup using unqualified name lookup (3.4.1), only
function declarations with external
linkage from the template definition context are found.
I think this is pretty much the same conclusion as the guys in the boost
mailinglist come to (see Carsten's reference in the first mail of this
thread) so I'd say icc is right and the code in OpenSG is wrong here.
Yours,
Akos
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users