https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78423
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Bharath from comment #0) > Due to project constraints we are not supposed to upgrade our gcc to version > 5 & above.Can you please guide is there any other way we can fix above > errors without upgrading our gcc version. Change your code so it doesn't use features that aren't supported by your toolchain.