Bug#778531: libdebian-installer4-dev: Cannot include from C++

2015-02-16 Thread Cyril Brulebois
Askar Safin (2015-02-16): > Package: libdebian-installer4-dev > Version: 0.98 > Severity: normal > > I cannot build C++ programs using this library. G++ shows a lot of > errors and warnings. > > Also, there is no extern "C"-trick in the headers. AFAICT from d-i's history, C++ has been kept out

Bug#778531: libdebian-installer4-dev: Cannot include from C++

2015-02-16 Thread Askar Safin
Package: libdebian-installer4-dev Version: 0.98 Severity: normal I cannot build C++ programs using this library. G++ shows a lot of errors and warnings. /usr/include/debian-installer/package.h:32:14: error: use of enum ‘di_package_dependency_type’ without previous declaration typedef enum di_p