SDOUtils.cpp does not compile due to problematic cast
-----------------------------------------------------

                 Key: TUSCANY-1695
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1695
             Project: Tuscany
          Issue Type: Bug
          Components: C++ Build
    Affects Versions: Cpp-Next
         Environment: Linux Fedora Core 2.6.21-1.3194.fc7 
g++ (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)

            Reporter: Ralf Henschkowski


compiler sees ambiguitiy in the following line:

===================================================================
--- sdo/runtime/core/src/commonj/sdo/SDOUtils.cpp       (revision 575198)
+++ sdo/runtime/core/src/commonj/sdo/SDOUtils.cpp       (working copy)
@@ -275,7 +275,7 @@
                        j != pl.end();
                        j++)
                   {
-                     PropertyPtr current = *j;
+                     PropertyPtr current = (PropertyPtr)*j;

                      out << "\tProperty: "
                          << current->getName()

Explicit cast helped to compile it, but I'm not sure if it is a fix ...




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to