On 19.02.2016 12:59, Jakub Jelinek wrote: > > Of course not, and that would be the wrong thing to do. > The definition spot of libc_name_p comes from gperf itself, the prototype > from cfns.gperf, which we can of course adjust. >
Yes, now I understand. Thanks. > > IMNSHO we should just keep it consistent with what g++ e.g. 5.x did. >Thus, > $ g++ -E -dD -xc++ /dev/null -O2 -std=c++98 2>&1 | grep _INLINE_ > #define __GNUC_GNU_INLINE__ 1 > $ g++ -E -dD -xc++ /dev/null -O2 -std=c++11 2>&1 | grep _INLINE_ > #define __GNUC_STDC_INLINE__ 1 > $ g++ -E -dD -xc++ /dev/null -O2 -std=c++14 2>&1 | grep _INLINE_ > #define __GNUC_STDC_INLINE__ 1 > $ g++ -E -dD -xc++ /dev/null -O2 -std=gnu++98 2>&1 | grep _INLINE_ > #define __GNUC_GNU_INLINE__ 1 > $ g++ -E -dD -xc++ /dev/null -O2 -std=gnu++11 2>&1 | grep _INLINE_ > #define __GNUC_STDC_INLINE__ 1 > $ g++ -E -dD -xc++ /dev/null -O2 -std=gnu++14 2>&1 | grep _INLINE_ > #define __GNUC_STDC_INLINE__ 1 > $ g++ -E -dD -xc++ /dev/null -O2 2>&1 | grep _INLINE_ > #define __GNUC_GNU_INLINE__ 1 > We want to define what we did with the explicit -std= options, and just > change the output in the default case (last invocation), to > #define __GNUC_STDC_INLINE__ 1 > because the default is different. > > Jakub OK. I can do that. I will send a new patch in the evening. Thanks Bernd.