I am attempting to use -fsanitize=undefined as a flag in a C++ project I am compiling using MinGW-w64, but it doesn't seem to work, it just errors out:
Well, you would need build ( and to port - I guess) the library ubsan
(-lubsan). If you can manage this, the option should work. The
sources of this library can be found in gcc's repository AFAIR.
I am attempting to use -fsanitize=undefined as a flag in a C++ project I am
compiling using MinGW-w64, but it doesn't seem to work, it just errors out:
I am attempting to use -fsanitize=undefined as a flag in a C++ project I am compiling using MinGW-w64, but it doesn't seem to work, it just errors out:
Is there any way I can fix it?
Well, you would need build ( and to port - I guess) the library ubsan
(-lubsan). If you can manage this, the option should work. The
sources of this library can be found in gcc's repository AFAIR.
Regards,
Kai
2017-05-04 5:29 GMT+02:00 Nicholas Welna nwelna@users.sf.net: