You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using libarchive in nuttx, and everything was fine until stdio.h included the nuttx header file. There was a conflict between the header file in nuttx and libarchive. I think I should modify stdio.h so that stdio.h does not include any nuttx/*.h. I tried to delete nuttx/*.h but there were many compilation errors.
anjiahao1
changed the title
[BUG] <stdio.h include nuttx/fs/fs.h nuttx/lib/lib.h Leading to duplicate definitions with third-party libraries>
[BUG] stdio.h include nuttx/fs/fs.h nuttx/lib/lib.h Leading to duplicate definitions with third-party libraries
Oct 14, 2024
Description / Steps to reproduce the issue
I have been using libarchive in nuttx, and everything was fine until stdio.h included the nuttx header file. There was a conflict between the header file in nuttx and libarchive. I think I should modify
stdio.h
so that stdio.h does not include anynuttx/*.h
. I tried to deletenuttx/*.h
but there were many compilation errors.On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
ubunt24,04
NuttX Version
master
Issue Architecture
[Arch: all]
Issue Area
[Area: Api], [Area: Build System]
Verification
The text was updated successfully, but these errors were encountered: