[PATCH] Remove C++ style comments from string3.h

Siddhesh Poyarekar siddhesh@gotplt.org
Fri Sep 30 00:08:00 GMT 2016


On Thursday 29 September 2016 02:12 PM, Adhemerval Zanella wrote:
> The new check-installed-headers rule check now complains with C++
> comment from string3.h with:
> 
> ../string/bits/string3.h:129:1: error: C++ style comments are not allowed in ISO C90
>  // XXX We have no corresponding builtin yet.
> 
> Let use old C style comment to make compiler happy in old modes.
> 
> Tested on x86_64.
> 
> 	* string/bits/string3.h: Remove C++ style comments.

LGTM.

Siddhesh



More information about the Libc-alpha mailing list