[cfe-dev] suppress "no matching constructor for initialization of" errors?

Jack Howarth howarth at bromo.med.uc.edu
Mon Apr 4 15:56:42 PDT 2011


On Mon, Apr 04, 2011 at 06:55:30PM +0200, Sebastian Redl wrote:
> 
> On 04.04.2011, at 15:20, Jack Howarth wrote:
> 
> >  I am puzzled by the "no matching constructor for initialization of" errors in clang++.
> > My impression was that this additional level of strictness was added for the benefit of
> > obj-c++. If so, shouldn't it be optional for normal c++ code and is there a clang compiler
> > flag to suppress this check?
> 
> Do you have a code example that Clang doesn't allow that you think should be allowed?
> 
> Sebastian

Sebastian,
   I opened http://llvm.org/bugs/show_bug.cgi?id=9627 and uploaded the preprocessed source file
for the problem file from pymol. This ccealignmodule.ii is compiled by Apple llvm-gcc-4.2 from
Xcode 4 and by FSF gcc 4.6.0 on x86_64 darwin without warnings or errors.
       Jack




More information about the cfe-dev mailing list