[Dropping bug-m4 from CC, since this is not related to m4. m4 does not use C++.]

Nad Ka wrote:
>    - glibc 2.43
>    - Clang/Clang++ 23.1.0
>    - C++ support enabled
> 
> Problem:
> With GNULIB_NAMESPACE enabled, the generated header reaches:
> 
> _GL_CXXALIASWARN (openat);
> 
> In the tested glibc/Clang environment, openat is visible as an overloaded
> function set and Clang rejects the declaration with:
> 
> reference to overloaded function could not be resolved

Please provide a "How to reproduce". It should contain a command that compiles
a C++ source file. Also attach the output of the same command with option '-E'.

Btw, I see a single declaration of openat() in glibc's <fcntl.h>, not an
overloaded one.

Bruno




Reply via email to