[Bug c++/92986] ODR violation not detected

geeteshmore at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 18 17:26:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92986

--- Comment #4 from Geetesh More <geeteshmore at gmail dot com> ---
I tried with -flto, but I'm not seeing any warning messages:
g++ -std=c++0x -g -flto -Wodr main.cpp file2.cpp

Am I missing anything here?


More information about the Gcc-bugs mailing list