It's funny how some bad coding practices only show up in some
particular archs...

I fixed it and it's now uploaded to mentors: [1]. Hopefully you would
be willing to upload it to unstable and see if this is the final fix!

Best,
JL

[1] https://mentors.debian.net/debian/pool/main/m/mrpt/mrpt_1.4.0-5.dsc

On Fri, Jul 22, 2016 at 1:56 PM, Gianfranco Costamagna
<locutusofb...@debian.org> wrote:
> Hi sad mips,
>
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:103:73: error: no 
> matching function for call to 'reverseBytesInPlace(long unsigned int&)'
> for (size_t i=0;i<ElementCount;i++) mrpt::utils::reverseBytesInPlace(ptr[i]);
> ^
> In file included from 
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:16:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:129:20: note: candidate: 
> void mrpt::utils::reverseBytesInPlace(bool&) <near match>
> void BASE_IMPEXP reverseBytesInPlace(bool& v_in_out);
> ^
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:129:20: note:   conversion 
> of argument 1 would be ill-formed:
> In file included from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:103:77: error: invalid 
> initialization of non-const reference of type 'bool&' from an rvalue of type 
> 'bool'
> for (size_t i=0;i<ElementCount;i++) mrpt::utils::reverseBytesInPlace(ptr[i]);
> ^
> In file included from 
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:16:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:130:20: note: candidate: 
> void mrpt::utils::reverseBytesInPlace(uint8_t&) <near match>
> void BASE_IMPEXP reverseBytesInPlace(uint8_t& v_in_out);
> ^
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:130:20: note:   conversion 
> of argument 1 would be ill-formed:
> In file included from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:103:77: error: invalid 
> initialization of non-const reference of type 'uint8_t& {aka unsigned char&}' 
> from an rvalue of type 'uint8_t {aka unsigned char}'
> for (size_t i=0;i<ElementCount;i++) mrpt::utils::reverseBytesInPlace(ptr[i]);
> ^
> In file included from 
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:16:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:131:20: note: candidate: 
> void mrpt::utils::reverseBytesInPlace(int8_t&) <near match>
> void BASE_IMPEXP reverseBytesInPlace(int8_t& v_in_out);
> ^
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:131:20: note:   conversion 
> of argument 1 would be ill-formed:
> In file included from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:103:77: error: invalid 
> initialization of non-const reference of type 'int8_t& {aka signed char&}' 
> from an rvalue of type 'int8_t {aka signed char}'
> for (size_t i=0;i<ElementCount;i++) mrpt::utils::reverseBytesInPlace(ptr[i]);
> ^
> In file included from 
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:16:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:132:20: note: candidate: 
> void mrpt::utils::reverseBytesInPlace(uint16_t&) <near match>
> void BASE_IMPEXP reverseBytesInPlace(uint16_t& v_in_out);
> ^
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:132:20: note:   conversion 
> of argument 1 would be ill-formed:
> In file included from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:103:77: error: invalid 
> initialization of non-const reference of type 'uint16_t& {aka short unsigned 
> int&}' from an rvalue of type 'uint16_t {aka short unsigned int}'
> for (size_t i=0;i<ElementCount;i++) mrpt::utils::reverseBytesInPlace(ptr[i]);
> ^
> In file included from 
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:16:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:133:20: note: candidate: 
> void mrpt::utils::reverseBytesInPlace(int16_t&) <near match>
> void BASE_IMPEXP reverseBytesInPlace(int16_t& v_in_out);
> ^
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/bits.h:133:20: note:   conversion 
> of argument 1 would be ill-formed:
> In file included from /«PKGBUILDDIR»/libs/maps/src/maps-precomp.h:14:0,
> from /«PKGBUILDDIR»/libs/maps/src/maps/CColouredPointsMap.cpp:10:
> /«PKGBUILDDIR»/libs/base/include/mrpt/utils/CStream.h:103:77: error: invalid 
> initialization of non-const reference of type 'int16_t& {aka short int&}' 
> from an rvalue of type 'int16_t {aka short int}'
> for (size_t i=0;i<ElementCount;i++) mrpt::utils::reverseBytesInPlace(ptr[i]);
>
> and maybe more
> https://buildd.debian.org/status/package.php?p=mrpt&suite=unstable
>
> G.
>
>
>
>
>
> Il Venerdì 22 Luglio 2016 10:32, Gianfranco Costamagna 
> <locutusofb...@debian.org> ha scritto:
> Hi,
>
>
>
>>fat finger typo!  ;-)
>
>
> :)
>>https://mentors.debian.net/debian/pool/main/m/mrpt/mrpt_1.4.0-4.dsc
>>
>>I included the potential fix to the other HPPA bug... hopefully it'll
>>work at the first attempt!
>
>
> you will know in a few hours, the package is uploaded, it will go in
> unstable at the end of dinstall
> https://ftp-master.debian.org/dinstall.status
> https://ftp-master.debian.org/dinstall.html
>>Thanks for everything guys!
>
>
> you are welcome, lets hope for the best!
> (and for hppa, if it doesn't fix, just reopen the bug and don't care,
> we don't have porter machines, so porters have to look at the issue, I can't)
>
>
> Gianfranco



-- 
___________________________________________________________

Jose Luis Blanco-Claraco
CITE-IV 1.05
Universidad de Almería, Departamento de Ingeniería
04120 Almería (Spain)
http://www.ual.es/~jlblanco/
___________________________________________________________

Reply via email to