Menu

#238 Wrong header path generated

Assigned
closed-fixed
None
5
2023-06-24
2023-06-02
Qing Wan
No

Use below command to generate:
java -jar Smc.jar -c++ -headerd ../include/foo/bar xxx.sm

The header path generated is #include "../include/include/include/yyy.h". The correct one should be #include "../include/foo/bar/yyy.h.

The attachment shows a patch fixing this issue.

Change in SmcCodeGenerator.generatePath().

1 Attachments

Discussion

  • Charles Rapp

    Charles Rapp - 2023-06-24
    • status: open --> open-accepted
     
  • Charles Rapp

    Charles Rapp - 2023-06-24
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB