[Rock-dev] autoproj: Renaming Headers after they where installed
Janosch Machowinski
Janosch.Machowinski at dfki.de
Wed Jul 22 12:13:52 CEST 2015
The build server will fail for sure...
Greetings
Janosch
Am 22.07.2015 um 10:18 schrieb Martin Zenzes:
> 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
>
--
Dipl. Inf. Janosch Machowinski
SAR- & Sicherheitsrobotik
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-6614
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: jmachowinski at informatik.uni-bremen.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
More information about the Rock-dev
mailing list