boostorg / boostorg/python

"may be used uninitialized" warning in extract.hpp

Aperta
#180 5 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
537
Fork
223
Merge medio
11h 22m
PR unite (30g)
2

Descrizione

With GCC 7.2 on Fedora (g++ --version: g++ (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)) I get the following (probably false) warning:
```
/include/boost/python/extract.hpp:185:11: warning: ‘*((void*)& +24)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
```
It would be nice to not get it :-) (without using `-Wno-maybe-uninitialized`)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.