While working on [reproducible builds](https://reproducible-builds.org/) for 
[openSUSE](https://en.opensuse.org/openSUSE:Reproducible_Builds), I found that 
our `glfw` package varies in every build since the upgrade to geany-2.0

I extracted this minimal reproducer:

```bash
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:
```diff
-__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 or view it on GitHub:
https://github.com/geany/geany/issues/3717
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to