#include <memory>
int main() {
std::unique_ptr<int> i = nullptr;
return 1;
}
Why won't this give me a -Wunused-variable
warning (yes, they are enabled)?
(gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC))
Cheers & thanks,
meru
#include <memory>
int main() {
std::unique_ptr<int> i = nullptr;
return 1;
}
Why won't this give me a -Wunused-variable
warning (yes, they are enabled)?
(gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC))
Cheers & thanks,
meru