Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for long paths on Windows for yarpidl_thrift #3057

Merged

Conversation

traversaro
Copy link
Member

The yarp_add_idl and yarp_idl_to_dir macros can be called in deeply nested folders in downstream projects, and the yarpidl_thrift invoked by them also create really long paths when creating the temporary folders it creates. For this reason, it can happen that the paths on which yarpidl_thrift operates violates the 260 maximum character limit on Windows. To use the support for longer paths, as documented in https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation it is necessary to add a specific manifest to the executable.

This PR adds support to yarpidl_thrift to deal with path longer than 260 characters on Windows.

Copy link

update-docs bot commented Nov 28, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update the release notes by adding a file in doc/release/<target_branch>, based on your changes.

@randaz81 randaz81 merged commit 49f4ca3 into robotology:yarp-3.9 Nov 29, 2023
49 of 52 checks passed
@randaz81 randaz81 added this to the YARP 3.9.0 milestone Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants