Really? I tried to use it but I got a lot of false positives - in fact, every one of the errors in my medium-sized codebase was I believe a false positive. I spent a few hours last night looking at all of them and while I found a missing free, it was not one picked up by this analysis, but it happened to be in the same code that the analyzer flagged. Also the error messages are enormous in some cases.
It does show potential, and I hope it improves in future. Be nice to have a libre version of coverity one day.
> Extended characters in identifiers may now be specified directly in the input encoding (UTF-8, by default), in addition to the UCN syntax (\uNNNN or \UNNNNNNNN) that is already supported:
static const int π = 3;
int get_naïve_pi() {
return π;
}
The GCC community is normally very good (if blunt) at picking up duplicate bugs and linking them to the right place. https://gcc.gnu.org/bugzilla/ Is all you need. Just don’t feel bad if your bug is closed!
Every time I look at GCC's bugtracker, I feel a mix of disgust and astonishment at the state of such a foundational piece of software. I'm amazed it works as well as it does.
Compiling gcc is actually not so bad (and sometimes necessary if you want to e.g. use drd to debug openmp, so you can make libgomp use pthreads primitives that drd knows how to do deal with).
DyslexicAtheist|5 years ago
[1] https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.h...
rwmj|5 years ago
It does show potential, and I hope it improves in future. Be nice to have a libre version of coverity one day.
Edit: Output from compiling nbdkit upstream with -fanalyzer: https://paste.centos.org/view/8381f926
qalmakka|5 years ago
ufo|5 years ago
cozzyd|5 years ago
glouwbug|5 years ago
MauranKilom|5 years ago
hinkley|5 years ago
asjw|5 years ago
q92z8oeif|5 years ago
greendave|5 years ago
Nice to see a bunch of C++20 features making it in. Coroutines seems like a big one!
vmchale|5 years ago
FullyFunctional|5 years ago
Goes to look at README.Bugs. Holy cow, I don't have time to to check all those places to see if it has been reported already.
canarypilot|5 years ago
userbinator|5 years ago
wiz21c|5 years ago
liquidify|5 years ago
RMPR|5 years ago
https://fedoramagazine.org/announcing-fedora-32/
Twirrim|5 years ago
woadwarrior01|5 years ago
[1]: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/pp...
throwawayanss21|5 years ago
cozzyd|5 years ago
pantalaimon|5 years ago
wyldfire|5 years ago
loeg|5 years ago
umvi|5 years ago
SomeoneFromCA|5 years ago
unixhero|5 years ago
super_mario|5 years ago
chrisseaton|5 years ago
Surely it's available from here at the very least?
https://gcc.gnu.org/git.html
> or any of the mirrors I tried
Seems to be to me?
ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-10.1.0/
ryuukk_|5 years ago
[deleted]
movieswebsite|5 years ago
[deleted]