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

Compatibility with NuttX-11 #24

Closed
wants to merge 6 commits into from
Closed

Compatibility with NuttX-11 #24

wants to merge 6 commits into from

Conversation

robertobucher
Copy link

The file src/filesystem.c is not compatible with NuttX 11, because of the redefinition of the type "DIR"

src/filesystem.c contains a check of __INCLUDE_DIRENT_H now

The redefinition of the type "DIR" causes a failure of the compilation of the libmicroros.a.

@pablogs9
Copy link
Member

pablogs9 commented Dec 5, 2022

Hello, @robertobucher have you considered including this in the mainline repo of rcutils instead of the micro-ROS fork? We keep aligned with the mainline.

@robertobucher
Copy link
Author

I don't know exactly the effects of this check

#ifndef __INCLUDE_DIRENT_H

on the other OS (freertos and zephyr).

For NuttX it is required that the type DIR is not redefined, and the definition is in dirent.h!

@robertobucher robertobucher reopened this Dec 6, 2022
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