2 ms·
The very first entry in the competition is a good example already. You can try it in both g++ and clang++. Interesting, for the 'Biggest error, category Bare
by eru 3y ago
The very first entry in the competition is a good example already. You can try it in both g++ and clang++.
Interesting, for the 'Biggest error, category Bare Hands' entry, clang++ gives me a much longer error message than g++:
$ g++ var.c++ |& wc -c
8 810948 5670500
$ clang++ var.c++ |& wc -c
20 5232857 36625300
Clang++ has about 6.5 times as many characters in the error message as g++ here.
Though looking at the actual error messages, that seems to be down to a deeper default maximum instantiation depth on clang++ (1024 there vs 900 in g++).