octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X sscanf bug/feature?


From: Mike Miller
Subject: Re: Mac OS X sscanf bug/feature?
Date: Sun, 27 Mar 2016 12:01:53 -0700
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Mar 27, 2016 at 14:48:17 -0400, Ben Abbott wrote:
> Ok. Looks like Apple’s clang doesn’t like that.
> 
> In file included from libinterp/dldfcn/__delaunayn__.cc:50:
> In file included from libinterp/corefcn/Cell.h:31:
> In file included from ./liboctave/array/Array.h:38:
> ./liboctave/array/idx-vector.h:68:55: error: friend declaration of 
> 'unique_ptr' does not match any declaration in namespace 'std'
[…]

Hmm, it looks like it's finding the right headers but something is
missing. Did you run configure with CXX="clang++ -stdlib=libstdc++"?

Does configure report that "-std=gnu++11" is added to CXX?

With that option present, you shouldn't see the errors you're seeing,
maybe Apple is giving you a really ancient version of libstdc++.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]