Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 634 by [email protected]: Header file path is wrong
in generated .cc files for .proto files in inner directories
http://code.google.com/p/protobuf/issues/detail?id=634
What steps will reproduce the problem?
1. Create two or more .proto files in the following manner
PWD = current
./current - a.proto
./current/dir1 - b.proto
2. From current directory execute protoc
protoc --cpp_out=. a.proto dir1/b.proto
3. Check #include in generated .cc files
a.pb.cc -> #include "a.h"
dir1/b.pb.cc -> #include "dir1/b.pb.h"
What is the expected output? What do you see instead?
Expected output is, for dir1/b.pb.cc, #include should contain just "b.pb.h"
and not "dir1/b.pb.h".
This is because b.ph.h is co-located with b.pb.cc in dir1 itself. But
because #include has "dir1/b.ph.h", b.pb.cc doesn't get compiled.
What version of the product are you using? On what operating system?
libprotoc 2.5.0 / MAC OS x 10.9.2
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.