[Rock-dev] Typelib types usage of int

Alexander Duda Alexander.Duda at dfki.de
Thu Jun 20 10:32:07 CEST 2013


On 06/20/2013 10:14 AM, Leif Christensen wrote:
>> we have some Typelib types which have at least one "int" as one of their
>> fields type. This is introducing some unnecessary compatibility problems
>> (deep casts) between 32 Bit and 64 Bit machines when replaying log
>> files. My suggestion would be to replace all "int" with intxx_t.
> Are you talking about using just inttypes.h, part of the C standard
> library / C99 standard?
>
Yes, or boost/cstdint.hpp

Alex

-- 
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3



More information about the Rock-dev mailing list