Re: [eigen] sun studio 11 compiler error |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] sun studio 11 compiler error
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 24 Aug 2010 13:46:17 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=VlCp5BDlJhVaELgwQTqLdUvtR8dLXPua2vm+Lko4mMw=; b=t12X3aeEYA8Gq09qmuFowg2SGSkcNv+nxINrdtqOabyxeUy3+LFmCCXUgHuu0mb4MJ 98yRIQMN1ECaLkISuHzKfn8uZl/ci50aGU95cI///j3Uehtgg7nKBauC0QCXfVWZQBm5 ivTc9FGhcYrJ5Fvt4Zz6z/ZIfeqBn0MY4fRFw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CW6E/QBe6cMm2cdaZt93rZave0yAQP6sLuqoU60gUuMzKid46ezfC2edpr35dqb95L EW51aU2DNEQ71LmnJrdSzOZ/PhKLABq4Dbd/Qro6+H/XyPLNuB3jX+aEIATfoQ9VRhOW gCAhZtWRWEuwLHtnWrrAEdwhIPbFOS8mntDKA=
2010/8/24 Ben Goodrich <bgokgm@xxxxxxxxxxxxxx>:
> On Tue, Aug 24, 2010 at 11:50 AM, Rodney Sparapani <rsparapa@xxxxxxx> wrote:
>> On 08/24/10 10:37 AM, Benoit Jacob wrote:
>>>
>>> Hm. We're supposed to support Sun CC but I would guess that it doesn't
>>> get very frequent testing.
>>>
>>> If you think that it used to work until recently, it can be useful to
>>> bisect.
>>>
>>> This particular error is about a method, topRows(), that is overloaded
>>> wrt template parameters. There's a version not taking any template
>>> param, and also a template<int N> version. No idea how to make Sun CC
>>> accept that (it is complaining about the latter).
>>>
>>> Benoit
>>
>> Hi Gang:
>>
>> The name has changed recently to Oracle Solaris Studio Express.
>>
>> http://www.oracle.com/technetwork/testcontent/express-139159.html
>>
>> And, contrary to the new name, it is available for Linux x86 (RHEL
>> and SuSE). I find it helpful since it finds errors that GCC does
>> not (things that really appear to be errors and not just differences
>> of opinion). It's a free download.
>>
>> http://www.oracle.com/technetwork/testcontent/thankyou-jsp-142928.html
>>
>> I thought Eigen 2.0 worked, but I haven't gotten around to working
>> with 3.0 yet.
>>
>> --
>> Rodney Sparapani Center for Patient Care and Outcomes Research
>> Sr. Biostatistician http://www.mcw.edu/pcor
>> 4 wheels good, 2 wheels better! Medical College of Wisconsin (MCW)
>> WWLD?: What Would Lombardi Do? Milwaukee, WI, USA
>
> Ok, I got hg built in my home directory on the server and am ready to
> bisect. Except, I can't find a point in the history of the default
> branch where
>
> $ cat ../test.cc
> #include "eigen/Eigen/Eigen"
>
> using namespace Eigen;
>
> int main() {
> return 0;
> }
>
> compiles to set as the --good commit. Does anyone know of one? If I go
> back to commit 2071, I appear to only get a couple of errors, but it
> is a similar template-related problem.
So, since this isn't just a recent regression, forget about bisecting
--- I was only mentioning it in case that would be one.
Benoit
>
> $ CC ../test.cc
> "../eigen/Eigen/src/Core/MathFunctions.h", line 92: Error: Could not
> find a match for Eigen::ei_random<Eigen::T>().
> "../eigen/Eigen/src/Core/MathFunctions.h", line 93: Error: Could not
> find a match for Eigen::ei_random<Eigen::T>(int, int) needed in
> Eigen::ei_random<Eigen::T>().
> Error: Cannot continue processing because of prior errors.
> Compilation aborted.
>
> Ben
>
>
>