On sábado, 7 de setembro de 2013 12:24:26, Michael Jackson wrote:
> I have some code that needs to convert from the system to Big Endian byte
> order. All my integers work just fine but I am getting linker errors when
> trying to byte swap floats and doubles.
> 
> I have #include <QtCore/QtEndian>
> 
> and I have a templates function like this:
> 
> template<typename T>
> void foo(T value)
> {
>   value = qToBigEndian(value);
>    .. does something with that data.
> }
> 

> What am I missing?

Nothing. Those functions don't exist.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to