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
When I compile test/Python/src/HelloWorld.lf, I get the following error with gcc 14:
test/Python/src-gen/HelloWorld/trace/impl/src/trace_impl.c: In function ‘start_trace’:
test/Python/src-gen/HelloWorld/trace/impl/src/trace_impl.c:155:57: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
155 | trace->_lf_trace_buffer_size = (size_t*)calloc(sizeof(size_t), trace->_lf_number_of_trace_buffers + 1);
| ^~~~~~
test/Python/src-gen/HelloWorld/trace/impl/src/trace_impl.c:155:57: note: earlier argument should specify number of elements, later size of each element
cc1: all warnings being treated as errors
This error disappears when I disable tracing. BTW, why does the HelloWorld test (which should be minimal) use tracing?
The text was updated successfully, but these errors were encountered:
When I compile
test/Python/src/HelloWorld.lf
, I get the following error with gcc 14:This error disappears when I disable tracing. BTW, why does the HelloWorld test (which should be minimal) use tracing?
The text was updated successfully, but these errors were encountered: