[Rock-dev] Typelib types usage of int

Leif Christensen leif.christensen at dfki.de
Thu Jun 20 10:54:12 CEST 2013



Am 20.06.2013 10:32, schrieb Alexander Duda:
> 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
Or stdint.h ?

-- 
  Leif Christensen

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

  Phone: +49 (0)421 17845-4149
  Fax:   +49 (0)421 17845-4150
  E-Mail: leif.christensen 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