tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange gcc warning...

On 18.08.2018 05:35, Robert Elz wrote:
> /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",  \
>                         ^

This is not a strange warning but an invalid C++ code.

Here and in other places with reports from compilers, it's better to fix
the code rather than papering issues with a pile of -Wno*.

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index