[bionic] Program fails to compile when using flann and LZ4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flann (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 18.04, when trying to use the system version of LZ4 with flann in the same C++ code, it causes compile errors.
$ apt-cache policy libflann-dev
libflann-dev:
Installed: 1.9.1+dfsg-2
Candidate: 1.9.1+dfsg-2
Version table:
*** 1.9.1+dfsg-2 500
500 http://
100 /var/lib/
$ apt-cache policy liblz4-dev
liblz4-dev:
Installed: 0.0~r131-2ubuntu3
Candidate: 0.0~r131-2ubuntu3
Version table:
*** 0.0~r131-2ubuntu3 500
500 http://
100 /var/lib/
$ cat test.cpp
#include <lz4.h>
#include <flann/flann.hpp>
int main()
{
return 0;
}
$ g++ test.cpp
In file included from /usr/include/
/usr/include/
typedef struct { long long table[LZ4_
In file included from test.cpp:1:0:
/usr/include/
typedef struct { long long table[LZ4_
In file included from /usr/include/
/usr/include/
typedef struct { unsigned long long table[LZ4_
In file included from test.cpp:1:0:
/usr/include/
typedef struct { unsigned long long table[LZ4_
Changed in flann (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.