Hello,
I have a table (adjlist) of the form: id, num-links, {links}.
Here id and num-links are int64 (I) and links is an array of ints that I am storing as a raw array (u). Key format is I(id), and the value format is Iu (num-links, links).
Links can be empty, and therefore I had this logic in my code for creating an empty array:
When I compile this with clang (Ubuntu clang version 13.0.0-2), this works just fine. However, when I use GCC (v9.3.0), I run into the following error:
Is there something fundamentally wrong that I am doing, or have I run into a strange compiler issue? What is the recommended way to store an empty WT_ITEM?
thanks,--
You received this message because you are subscribed to the Google Groups "wiredtiger-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wiredtiger-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wiredtiger-users/f3de51fa-2414-47d7-ae3b-24570fff7cban%40googlegroups.com.
{ name : "Alexey Anisimov",
title : "Senior Software Engineer",
location : "Sydney, Australia" }