Luiz Siqueira
Luiz Siqueira
Here is a stripped down example of how I'm using a 3 levels deep hierarchical machine. https://gist.github.com/indiosmo/08ab24181770125d5a2448d27f6ae99f Noticed that I did have to repeat the handler for ev_error for `state.`...
Hi, it looks like this commit https://github.com/boostorg/leaf/commit/971ecacf0fb753bf51f892589249df315b7522c6 removed the [[nodiscard]] attribute. The commit in question entered in 1.85, it was working in 1.84. The class declaration changed from `class BOOST_LEAF_NODISCARD...
Changing the lines below seems to do the trick but I'm not familiar with the codebase to know if this can have negative repercusions. Let me know if you'd like...
Not sure I understand, the macro in question is already defined in leaf/config.hpp, line 212. ```cpp #if defined(__has_attribute) && defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x5130) # if __has_attribute(nodiscard) # define BOOST_LEAF_ATTRIBUTE_NODISCARD...
I looked into boost/config.hpp and it seems to be exactly the same as leaf/config.hpp as far as [[nodiscard]] is concerned. Also, I tried looking at the CI logs but all...
I've reverted the changes to see if all tests pass, as at a cursory look it seems that some of the errors are unrelated to the change. Let's see. edit:...
Hi @zajo, I have some time so I'm revisiting this. What I'm having trouble with is that the current guard only enables the attribute if compiling with c++17 or above...
Here's some exploration https://godbolt.org/z/c6fWx9KEz It builds with gcc 7.5 and std=c++11, it fails with c++17 with both attributes, but works with only one of them. With nodiscard first: ``` :16:38:...
Looks like there are issues with the CI environment: ``` 2024-07-25T19:02:11.9945506Z ##[command]/usr/bin/docker exec 1e5273ba1dd06360032578220225456afc2a23ff95f326ef97318aa6eefbfbd7 sh -c "cat /etc/*release | grep ^ID" 2024-07-25T19:02:12.1407151Z /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by...
Still having issues with the CI environment: `test/try_catch_system_error_test.cpp:149:1: fatal error: error writing to /tmp/cc3wazIO.s: No space left on device`