[Rock-dev] autoproj: Renaming Headers after they where installed
Martin Zenzes
martin.zenzes at dfki.de
Wed Jul 22 10:18:51 CEST 2015
Hi folks,
just wanna ask for your opinion on how to do renames of C/C++ headers
which are to be installed into "$prefix/include/...". In the moment, the
old installed file is kept in the install folder, while the new one is
installed as well.
This leads to consumers code silently still working, by including the
old header and ignoring the new one.
Yes, this is an API-Change and should be avoided. But as long as the new
scheme improves readability, we can fix trivial filename changes pretty
fast. Anyways, is there some well trodden procedure? What comes in my
mind is:
- install a file into the old header-name and add a C++ "#error", with
proper instructions what to do.
- removing the whole install folder once everywhere
Other ideas?
Martin
--
M.Sc. Martin Zenzes
Space Robotics
Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0) 421 178 45 - 6658
Fax: +49 (0) 421 178 45 - 4150
E-Mail: martin.zenzes 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