One effect of miscompilation is that parsing "1" returns 0
Падабаецца 0
Рэпосты 0
One effect of miscompilation is that parsing "1" returns 0
not even -0
@vitaut very funny, i once stumbled upon an error in gobject introspection's C parser that caused all expressions that it couldn't parse to evaluate as 0
it caused a flag that marked passwords as sensitive to disappear from the api
you knew gnome includes a c parser hacked together in yacc, right?
*shrieks*
@lkundrak includes a what now? o_O
@vitaut yes hail satan https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/main/giscanner/scannerparser.y?ref_type=heads&plain=1
@lkundrak thanks I hate it
@DanielaKEngert it's complicated but some very specific version of clang