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: Ben Goodrich <bgokgm@xxxxxxxxxxxxxx>
- Date: Tue, 24 Aug 2010 12:15:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.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=67Gx94IHn4cdjJg1r5cUURI5TVPGYrTw9GE63snge4c=; b=YxlCvk2fRJoGeOC5qLDC7lyMhexCc/0dSnLKdwoyXsdB1ecc5UO+7B2I8yv7olqenp q/nDAEmeGLDSey7r+5IvK+xAHLLbda7tZ7dv4oqPuLXj/KvJpNrI4CX52PYUDSU2eBDM 2UKYLCZ37QXvbJp0Y3b0iFU7WREKSyKzHC9D4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=QaOwQsCUFgrPy6XxBjswPGW4ekZAWTrSdheDfaNTCHstxq5e2vsYZa3Fk9+KhGbGwT VPlDM3hhOOsIHV+TjatRVwahjKhXRMbVaRysgGA+MoectovhcgT8OEReDOgr54wacHch pfVU9ZNi7bVG4ptCkd97g00nrfVoGvMxgVIPM=
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.
$ 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