Repository navigation
fix build with gcc16 - #448
Conversation
fix:
```cpp
In file included from /build/source/octomap/include/octomap/OcTreeKey.h:40,
from /build/source/octomap/include/octomap/OcTreeBaseImpl.h:45,
from /build/source/octomap/include/octomap/OccupancyOcTreeBase.h:44,
from /build/source/octomap/include/octomap/OcTreeStamped.h:39,
from /build/source/octomap/src/OcTreeStamped.cpp:34:
/nix/store/mcd6qn183lsac6dy6xqm1ijhldixvfq2-gcc-16.1.0/include/c++/16.1.0/ciso646:49:6: error: #warning "<ciso646> is not a standard header since C++20, use <version> to detect implementation-specific macros" [-Werror=cpp]
49 | # warning "<ciso646> is not a standard header since C++20, use <version> to detect implementation-specific macros"
| ^~~~~~~
```
follows OctoMap#434
|
@ahornung would it be possible to make a patch release with this and possible other bugfixes since v1.10.0? |
|
Thanks for the ping @oysstu. I sure can do that. With all the major CMake related changes I'm planning a v2.0.0 release. Do you specifically need a patch release with fixes? Would you mind listing the most important ones to you (in addition to this one)? |
|
Mainly this one for me, since it fixes a build error. I just scrolled through the changes since last releases quickly and it looked like mostly smaller features and bugfixes. |
|
I cherry-picked the non-breaking fixes only on branch v1.10-fixes, does this look right to you? If so then I'll create a patch release from it. |
|
8a7a18a on v1.10-fixes lgtm, yes, thanks :) |
|
Release done! |
|
Unfortunately this release was based off a branch without all the latest fixes Fails to compile because of this ciso include, which was removed in d7e54ca |
|
@oysstu, that change was deliberately not part of the 1.10.1 patch release because it is a breaking API change. |
Hi,
This follow #434 and fix:
The inclusion of this header does not seem to be used, as octomap now build fine for me with gcc16.