This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove C++ style comments from string3.h
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Thu, 29 Sep 2016 17:07:59 -0700
- Subject: Re: [PATCH] Remove C++ style comments from string3.h
- Authentication-results: sourceware.org; auth=none
- References: <1475183568-13773-1-git-send-email-adhemerval.zanella@linaro.com>
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