Package: nut-dev Version: 2.2.0-1 Severity: minor After upgrading from version 2.0.something to version 2.2.0-1 the type `UPSCONN' had been renamed to `UPSCONN_t'. This is a problem for software that is supposed to work with different versions of this library - especially since it's not possible to determine the version from within the preprocessor.
The arguably best solution would be to add an additional type typedef UPSCONN_t UPSCONN for backwards compatibility. The second best option would be to use a define, such as #define UPSCONN UPSCONN_t The third best option would be to add something to let the preprocessor determine the libraries version and have it configure the program accordingly. An example could be: /* Version 2.2.0 */ #define LIBUPSCLIENT_VERSION 200200000L Regards, -octo -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/
signature.asc
Description: Digital signature