Registered Member
|
Hello everyone,
Thank you in advance for your time regarding this matter, I'll make it very short. I reduced my problem to the following snippet :
I'm using the gcc -Wconversion flag (among others) and it produces this yet unexplained error (sorry if it has already been adressed, I didn't find anything related in the forum) :
I'm using Ubuntu 11.10 64 bits. It builds without any warning in an Ubuntu 10.04 LTS 32 bits VB, and I also successfully tried built this on a Linux Mint 10 32 bits. Any idea where that might come from ? Is there a proper way to use the block/segment methods ? Thank you for your time and suggestions =) |
Moderator
|
well you are asking a bit much by turning warnings into errors, but in this particular case we should declare m_outerStride as an Index to avoid this warning.
|
Registered Member
|
The flags are not my choice, as my code is part of a bigger project, and we aim at releasing warning-free versions (so we debug with a very strong warning policy). Your suggestion solved my problem though, so thank you very much ! |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]