Re: [eigen] buildtests fail with gcc, icc, suncc and mingw (3.0.4/Debian/amd64) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] buildtests fail with gcc, icc, suncc and mingw (3.0.4/Debian/amd64)
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sun, 18 Dec 2011 12:28:39 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=IFPw/QdmL77kK+441xIrjSGkRg4ts86NohVHUi9bSnA=; b=UEFrcDrBWoW2whW2sPIIBx9rJOADvxAA4ZFYFaWfvsmx8vAqp3FaM8fboGCVyR/W9V c0xwD+fqmkaiYzcryYpPiO3XUzaPcFyhBXFjEyA6zF/UIYcCb0zTikB5tx5JhC/rRAGv lvfPimEV31FsPMktxU9Ece70+V/8K6R+6sbpo=
2011/12/18 Nicolas Limare <nicolas.limare@xxxxxxxxxxxxxxxxxx>:
>> > * how do I disable all non-standard features if I only want to use
>> > C++98 code, compatible in theory with any C++98 compiler (or C++03
>> > to be exact) ?
>>
>> The only non-standard features we are using are to control the
>> alignment of small objects that you can disable using
>> EIGEN_DONT_ALIGN_STATICALLY, in which case you also lost vectorization
>> for small fixed-size objects. Then we also use some compiler dependent
>> directives to improve inlining. Besides, our code should be C++03
>> compliant. Do you have something particular in mind regarding non
>> standard features?
>
> I have nothing in mind, I thought the compiler problems I experienced
> were due to some non-standard code written with gcc/msvc in mind.
>
> I expected sunCC to be a standard-compliant C++03 compiler, and I
> thought that if Eigen could be reduced to this standard, there was no
> reason why Eigen couldn't be compiled in sunCC. But I have not much
> experience with sunCC and I didn't analyze the reasons of the
> Eigen/sunCC clash.
I guess that no compiler is 100% standards compliant, due to various
bugs, especially with the handling of templates. SunCC is a
combination of buggier than average, and less worth making
work-arounds for than others due to very small user base. Old versions
of Eigen did support SunCC but it eventually appeared not to be worth
it.
Benoit
>
> --
> Nicolas LIMARE
> http://nicolas.limare.net/ pgp:0xFA423F4F
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAk7tsqoACgkQvviFAPpCP0+SiwCeJoVQ98ecd8r5nLT9XSycuowM
> ao8AoKAK8sjgW0rl+sHC8MrJFvhkQyrr
> =R1DS
> -----END PGP SIGNATURE-----
>