easy_profiler icon indicating copy to clipboard operation
easy_profiler copied to clipboard

Fails to build on i386: static_assert failed due to requirement 'get_aligned_size<65526>::Size == 65536 - EASY_ALIGN_SIZE' "wrong get_aligned_size"

Open yurivict opened this issue 3 years ago • 0 comments

In file included from /wrkdirs/usr/ports/devel/easy-profiler/work/easy_profiler-2.1.0-41-g3104dd4/easy_profiler_core/block.cpp:52:
In file included from /wrkdirs/usr/ports/devel/easy-profiler/work/easy_profiler-2.1.0-41-g3104dd4/easy_profiler_core/profile_manager.h:56:
In file included from /wrkdirs/usr/ports/devel/easy-profiler/work/easy_profiler-2.1.0-41-g3104dd4/easy_profiler_core/thread_storage.h:55:
/wrkdirs/usr/ports/devel/easy-profiler/work/easy_profiler-2.1.0-41-g3104dd4/easy_profiler_core/chunk_allocator.h:408:1: error: static_assert failed due to requirement 'get_aligned_size<65526>::Size == 65536 - EASY_ALIGN_SIZE' "wrong get_aligned_size"
static_assert(get_aligned_size<65526>::Size == 65536 - EASY_ALIGN_SIZE, "wrong get_aligned_size");
^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.

clang-13 FreeBSD 13.1

yurivict avatar Jun 22 '22 20:06 yurivict