[
https://issues.apache.org/jira/browse/AVRO-917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thiruvalluvan M. G. updated AVRO-917:
-------------------------------------
Attachment: AVRO-917.patch
{{avrogencpp}} now takes an additional argument {{- p}} or {{--include-prefix}}
which is the prefix for header files. If omitted, {{avro/}} becomes the prefix.
If set to {{-}} no prefix is added.
> Avrogencpp does not insert avro prefix for avro headers in the generated
> files.
> -------------------------------------------------------------------------------
>
> Key: AVRO-917
> URL: https://issues.apache.org/jira/browse/AVRO-917
> Project: Avro
> Issue Type: Bug
> Components: c++
> Reporter: Thiruvalluvan M. G.
> Assignee: Thiruvalluvan M. G.
> Fix For: 1.6.0
>
> Attachments: AVRO-917.patch
>
>
> The generated files have include directives like {{#include "Specific.hh"}}.
> This forces the users to add things like {{-I/usr/local/avro}} to their build
> scripts.If, instead, the generated code had {{#include "avro/Specific.hh"}}
> the users can use something like {{-I/usr/local}} (or omit it altogether
> because many systems may already have {{/usr/local}} in their include paths).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira