[ https://issues.apache.org/jira/browse/PROTON-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14682268#comment-14682268 ]
Tomas Soltys edited comment on PROTON-899 at 8/11/15 6:44 PM: -------------------------------------------------------------- UNIX path {{/path/to/dir1/../dir2}} in OpenVMS world would look similar to this {{U2:[path.to.dir1.-.dir2]}} where U2 represents device (like C: in Windows) Even though OpenVMS compiler claims that it does understand UNIX-style path names, my experience is that it does not understand "..". I was not able to find any documentation exactly stating that this is the problem nor how the path should look like, but my trial-and-error approach showed that when ".." is used in relative path compiler won't be able to find the include. was (Author: solttom): UNIX path /path/to/dir1/../dir2 in OpenVMS world would look similar to this U2:[path.to.dir1.-.dir2] where U2 represents device (like C: in Windows) Even though OpenVMS compiler claims that it does understand UNIX-style path names, my experience is that it does not understand "..". I was not able to find any documentation exactly stating that this is the problem nor how the path should look like, but my trial-and-error approach showed that when ".." is used in relative path compiler won't be able to find the include. > Unnecessary relative path in include > ------------------------------------ > > Key: PROTON-899 > URL: https://issues.apache.org/jira/browse/PROTON-899 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.9.1 > Reporter: Tomas Soltys > Assignee: Andrew Stitcher > Labels: easyfix, patch > Fix For: 0.10.1 > > Attachments: codec.c.patch, messenger.c.patch, transport.c.patch > > > Files: > proton-c/src/codec/codec.c > proton-c/src/messenger/messenger.c > proton-c/src/transport/transport.c > contain include with relative path: > #include "../log_private.h" > This is causing problem when porting on OpenVMS platform. > I suggest that above include should change to > #include "log_private.h" > There is no need to have "../" since compiler flags already contain include > path to directory where log_private.h resides. -- This message was sent by Atlassian JIRA (v6.3.4#6332)