[Rock-dev] enum SERIAL_RATES in iodrivers_base
Felix Rehrmann
felix.rehrmann at dfki.de
Wed Nov 23 14:53:48 CET 2011
Hi,
I encountered a problem with the baudrate constants definition in
Driver.hpp of iodrivers_base.
Some driver I wrote based on that just compiles with this definition
removed. I think the problem is that the constants are already defined
in termios.h .
As I don't know if that might be a problem for other depending libraries
I like to ask if there are any concerns about
removing the definition of enumeration SERIAL_RATES or put something
like this:
// Baudrates up to 38400 are defined in termios.h.
// In most Linux systems also baudrates up to 230400 are defined.
#ifndef B57600
enum SERIAL_RATES
{
B57600 = 57600,
B115200 = 115200,
B230400 = 230400
};
#endif
Felix
--
Felix Rehrmann
Researcher
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178 45-4129
Fax: +49 (0)421 218-64150
E-Mail: felix.rehrmann 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