> >
> > aCC-C++-action 
> > > ../../../libs/filesystem/build/bin/libfs.a/acc/release/runtime
> -link-dynamic/operations_posix_windows.o
> > Error 20: "/home/tk/boost/boost/boost/mpl/if.hpp", line 56 
> # '::' expected 
> > before 'if_c'.
> > typedef typename if_c<
> > ^^^^ 
> > Hmm, that's silly. Looks like aCC might need full qualification here.

> My guess as well. One if these might work:
>     typedef typename mpl::if_c<
> or
>    typedef typename ::boost::mpl::if_c<
>
>Please report back on it, and I'll check in the appropriate fix.

Finally I found out that aCC has a problem with the typename mixed with the 
template spec. So if I write the construct like this it works. Could you 
apply this patch ?


struct if_
{
  typedef if_c<
          BOOST_MPL_AUX_ICE_CAST(bool, BOOST_MPL_AUX_VALUE_WKND(C)::value)
        , T1
        , T2
        > parent_type ;
  typedef typename parent_type::type type;

    BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(C,T1,T2))
};
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to