While working on reproducible builds for openSUSE, I found that our glfw package varies in every build since the upgrade to geany-2.0

I extracted this minimal reproducer:

cat > test2.c <<EOF
typedef struct {
  struct
  {
  } __value32;
} __atomic_wide_counter;
EOF
for i in 1 2 ; do geany -g glfw.c.tags test2.c ; md5sum glfw.c.tags ; done | sort -u | wc -l
2

The output differs thusly:

-__value32�64�__atomic_wide_counter�0�__anonceed23430108::anon_struct_1
+__value32�64�__atomic_wide_counter�0�__anone35807a60108::anon_struct_1

I think, there is the same problem with anon unions.

Please make output deterministic.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3717@github.com>