Re: [eigen] strange sizeof on windows |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] strange sizeof on windows
- From: "Benoit Jacob" <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 5 Jan 2009 16:37:04 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YwgzoiRxdyNCY+MRzm9FVuFVDz36tuh6V7pVVSl+l40=; b=iZiRuORZMjW30gvMyVRgrAh9bUiVQueSNiKDPtLRztJVMPZ/uTaNzoEbbuQXsdAeq4 kUXHooctjZ1vJj2fGBtaMg6vdBeTNsPHS7jwZaA6zgcYp/Ix+x7WhBmdu5jTrdXs2wuv eebmzcgIC1BGjYsFIUkRZgfhFYD5jWiTxbxOs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UHoiTMD4+cV2FA4A3toAQsdDOVU9UufAwToWsaR6BaqlHBFVavYqCwtKw8H+xUwMnS O+GaMnCES/venxik5cQhPquFUaMbGxMm9ShInNkEgoca2vV3p8mLm0GnGPH/YipRZeug XN158rla6ZMT9eMMyjKbMfMiwxodTlA/kizqM=
2009/1/5 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> 2009/1/5 Robert Carnecky Jr. <robin@xxxxxxxxxxxxx>:
>> I haven't used eigen for a while, but in beta2 I had a similar problem.
>>
>> The offset of the actual float variable in the matrix was not zero for me,
>> due to some zero-sized structure or base class taking up actual memory.
>
> Ah, very interesting. I see, we do indeed have some empty structs
> there. Need to investigate why they cause trouble specifically with
> MSVC.
Uh... no, I still don't see. Maybe that's something that changed
between beta2 and now, but with the current code I don't see any empty
struct here.
Benoit
---