[LLVMbugs] [Bug 7865] error: indirection to an interface is not supported ('NSOperationQueue' invalid)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 11 10:39:43 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7865

Fariborz Jahanian <fjahanian at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Fariborz Jahanian <fjahanian at apple.com> 2010-08-11 12:39:43 CDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > In file included from
> > /HOME/Documents/work_projects/devel/miscTestBed/main.mm:9:
> > In file included from /usr/local/include/boost/thread/once.hpp:16:
> > /usr/local/include/boost/thread/pthread/once.hpp:67:27: error: indirection to
> > an interface is not supported ('NSOperationQueue' invalid)
> >                          f();
> >                            ^
> > /HOME/Documents/work_projects/devel/miscTestBed/main.mm:39:5: note: in
> > instantiation of function template specialization
> > 'boost::call_once<NSOperationQueue &(*)()>' requested here
> >      boost::call_once(tmpOneTimeRunSentinal, throttlingQueue_);
> 
> Thanks for the pre-processed file. Here is a trivial test case:
> 
> @interface NSOperationQueue @end
> 
> void call_once(NSOperationQueue& (*f)()) {
>   f();
> }
> 
> investigating.

Fixed in r110832

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list