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

--- Comment #12 from Laurent Stacul <laurent.stacul at gmail dot com> ---
Ok I think we will not waste time on this one. Actually, the build system
allows to force the standard version to build the libfolly.so (in out case
gnu++20) but somehow the tests are build with -std=gnu++14. (If I twaek the
whole build system to use gnu++20, the tests do no compile because GTest is not
C++20-ready).

So I think this ticket is invalid since we have to ensure some flags
consistency between each compilation units of a project.

For information, tt seems there is no problem in this situation if LTO is
deactivated.

Sorry for inconvenience and thanks for your investigation.
Stac

Reply via email to