The fix for this is among the changes that (including your compiler.m4
patch; thanks!) I just committed to the libMesh svn head. clang on
Ubuntu works for me now; let me know if the svn head compiles with
clang on OSX now too? In particular I'd like to know if opt mode
triggers the segfault you saw earlier.
Looks like we're going to need a Release Candidate 2 before libMesh
0.7.3, but support for a new compiler is certainly worth a little
delay.
---
Roy
On Sat, 24 Mar 2012, Jungho Lee wrote:
> Following up on the previous issue with clang, here is a new error
> from fparser. It appears I need this for moose.
>
> In file included from fparser.cc:23:
> /Users/jungholee/projects/herd/libmesh/contrib/fparser/extrasrc/fpaux.hh:227:41:
> error: call to function 'fp_log' that is neither visible in the
> template definition nor found by argument-dependent lookup
> return (x > Value_t() ? fp_exp(fp_log( x) / Value_t(3)) :
> ^
> fparser.cc:2676:36: note: in instantiation of function template
> specialization 'FUNCTIONPARSERTYPES::fp_cbrt<double>' requested here
> case cCbrt: Stack[SP] = fp_cbrt(Stack[SP]); break;
> ^
> /Users/jungholee/projects/herd/libmesh/contrib/fparser/extrasrc/fpaux.hh:249:20:
> note: 'fp_log' should be declared prior to the call site
> inline Value_t fp_log(const Value_t& x) { return std::log(x); }
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users