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
If I try to use functions from unistd.h to do some simple file I/O with the C++ target I get an error and suggestion to use e.g. reactor::close and reactor::read. This is because unistd.h is already included in assert.hh, but the include statement is inside the reactor namespace. When I try to include unistd.h again it is caught by the include guards.
Due to this, I cannot include e.g. Boost into my LF Cpp program because it relies on some types and functions from unistd. I guess it is an easy fix and just move the include statement out of the reactor namespace?
The text was updated successfully, but these errors were encountered:
If I try to use functions from unistd.h to do some simple file I/O with the C++ target I get an error and suggestion to use e.g. reactor::close and reactor::read. This is because unistd.h is already included in assert.hh, but the include statement is inside the reactor namespace. When I try to include unistd.h again it is caught by the include guards.
Due to this, I cannot include e.g. Boost into my LF Cpp program because it relies on some types and functions from unistd. I guess it is an easy fix and just move the include statement out of the reactor namespace?
The text was updated successfully, but these errors were encountered: