Howdy Folks,

I thought I'd post this for those living on the edge of compilers. I was
trying out gcc 4.7.0 for giggles and it seems that it isn't happy with
fparser. I've attached a full error log, but here's a sample:

extrasrc/fpaux.hh: In instantiation of ‘bool
FUNCTIONPARSERTYPES::isLongInteger(const Value_t&) [with Value_t =
std::complex<double>]’:
fparser.cc:1579:9:   required from ‘bool
FunctionParserBase<Value_t>::TryCompilePowi(Value_t) [with Value_t =
std::complex<double>]’
extrasrc/fp_opcode_add.inc:6760:1:   required from here
extrasrc/fpaux.hh:1129:57: error: ‘makeLongInteger’ was not declared in
this scope, and no declarations were found by argument-dependent lookup at
the point of instantiation [-fpermissive]
extrasrc/fpaux.hh:1140:17: note: ‘template<class T> long int
FUNCTIONPARSERTYPES::makeLongInteger(const std::complex<_Tp>&)’ declared
here, later in the translation unit
extrasrc/fpaux.hh: In instantiation of ‘Value_t
FUNCTIONPARSERTYPES::fp_cbrt(const Value_t&) [with Value_t = double]’:
extrasrc/fpaux.hh:853:52:   required from ‘std::complex<_Tp>
FUNCTIONPARSERTYPES::fp_cbrt(const std::complex<_Tp>&) [with T = double]’


extrasrc/fp_opcode_add.inc:7184:1:   required from here
extrasrc/fpaux.hh:229:26: error: ‘fp_log’ was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
extrasrc/fpaux.hh:643:28: note: ‘template<class T> std::complex<_Tp>
FUNCTIONPARSERTYPES::fp_log(const std::complex<_Tp>&)’ declared here, later
in the translation unit
extrasrc/fpaux.hh:229:26: error: ‘fp_exp’ was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
extrasrc/fpaux.hh:636:28: note: ‘template<class T> std::complex<_Tp>
FUNCTIONPARSERTYPES::fp_exp(const std::complex<_Tp>&)’ declared here, later
in the translation unit
extrasrc/fpaux.hh:229:26: error: ‘fp_log’ was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
extrasrc/fpaux.hh:643:28: note: ‘template<class T> std::complex<_Tp>
FUNCTIONPARSERTYPES::fp_log(const std::complex<_Tp>&)’ declared here, later
in the translation unit
extrasrc/fpaux.hh:229:26: error: ‘fp_exp’ was not declared in this scope,
and no declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
extrasrc/fpaux.hh:636:28: note: ‘template<class T> std::complex<_Tp>
FUNCTIONPARSERTYPES::fp_exp(const std::complex<_Tp>&)’ declared here, later
in the translation unit
extrasrc/fpaux.hh: In instantiation of ‘bool
FUNCTIONPARSERTYPES::isLongInteger(const Value_t&) [with Value_t =
std::complex<float>]’:

I don't have time to dig into this at the moment, nor is it crucial for me,
but I thought I'd at least give a heads up. I believe this might be related
to a thread opened up on libmesh-users as I was writing this email (clang
error: call to function 'fp_log' that is neither visible in the template
definition nor found by argument-dependent lookup).

Best,

Paul

Attachment: fparser_error.log
Description: Binary data

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to