[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation with clang
From: |
Werner LEMBERG |
Subject: |
Re: compilation with clang |
Date: |
Wed, 07 Nov 2018 19:27:33 +0100 (CET) |
> And answers are trickling in; see thread starting with
>
> http://lists.llvm.org/pipermail/cfe-users/2018-November/001417.html
And here's the definite answer from a clang developer:
The rule for determining when a base class function declaration
introduced by a using-declaration is hidden by a derived class
function declaration does not take the template parameter list into
account: http://eel.is/c++draft/namespace.udecl#15.sentence-1
So clang's behaviour is conforming and gcc's behaviour is not. At
the very least, though, we should issue a warning for the using
declaration, because this is a surprising rule.
Werner
- Re: compilation with clang, (continued)
- Re: compilation with clang, Werner LEMBERG, 2018/11/03
- Re: compilation with clang, David Kastrup, 2018/11/03
- Re: compilation with clang, Werner LEMBERG, 2018/11/03
- Re: compilation with clang, Werner LEMBERG, 2018/11/05
- Re: compilation with clang, David Kastrup, 2018/11/05
- Re: compilation with clang, Werner LEMBERG, 2018/11/05
- Re: compilation with clang, Werner LEMBERG, 2018/11/06
- Re: compilation with clang, David Kastrup, 2018/11/06
- Re: compilation with clang, David Kastrup, 2018/11/06
- Re: compilation with clang, Werner LEMBERG, 2018/11/06
- Re: compilation with clang,
Werner LEMBERG <=
- Re: compilation with clang, David Kastrup, 2018/11/07
- Re: compilation with clang, Werner LEMBERG, 2018/11/07
- Re: compilation with clang, Werner LEMBERG, 2018/11/07