[prev in list] [next in list] [prev in thread] [next in thread]
List: orocos-dev
Subject: [Orocos-Dev] [Bug 898] New: corba serialization issue for std::vector<std::string>
From: mathieu.gautier () cea ! fr (Mathieu Gautier)
Date: 2011-09-16 11:24:33
Message-ID: bug-898-4 () http ! bugs ! orocos ! org/
[Download RAW message or body]
http://bugs.orocos.org/show_bug.cgi?id=898
Summary: corba serialization issue for std::vector<std::string>
Product: Toolchain
Version: master
Platform: All
OS/Version: Windows
Status: NEW
Severity: minor
Priority: P3
Component: RTT
AssignedTo: orocos-dev at lists.mech.kuleuven.be
ReportedBy: mathieu.gautier at cea.fr
CC: orocos-dev at lists.mech.kuleuven.be
Estimated Hours: 0.0
Created attachment 731
--> http://bugs.orocos.org/attachment.cgi?id=731
[PATCH] transport corba : fix serialization of stl container of std::string.
There is a specialization of AnyConversion<std::string>::toCorbaType for TAO
implementation use while serializing a std::vector<std::string> into a string
sequence. This specialization is not choosen in some cases if the string
sequence element is given by reference. I only observe this issue recently with
msvc 2008 and 2010. I didn't have this problem when I have submitted this
functionality (see commit 506a183a9a3c0e6c3a9220e6333812c1a04bc0c5).
Moreover in TAO implementation a string sequence element is a kind of smart
pointer to the serialized string (a char*), so I think it's intended to be pass
by value.
see the attached patch.
--
Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic