Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 388 by [email protected]: Patch of /protobuf/src/google/protobuf/compiler/command_line_interface.cc
http://code.google.com/p/protobuf/issues/detail?id=388

line 913:
replace
proto_path_.push_back(make_pair<string, string>(virtual_path, disk_path));
to
proto_path_.push_back(make_pair(virtual_path, disk_path));

Otherwise VC++11 (when use new standard) not compile libprotoc, error:

2>ClCompile:
2>  command_line_interface.cc
2>..\src\google\protobuf\compiler\command_line_interface.cc(913): error C2664: 'std::make_pair' : cannot convert parameter 1 from 'std::string' to 'std::string &&'
2>          You cannot bind an lvalue to an rvalue reference

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to