emerge lvm2 abort during compilation with this message:
...
../include/lvm-string.h:40: attention : 'struct dm_pool' declared inside
parameter list
...

wordir/.../lvm-string.h i see:
...
struct pool;
       ^^^^
....
char *build_dm_name(struct dm_pool *mem, ....
                           ^^^^^^^
.....

It is not surprising then that the compiler complains about
dm_pool being declared inside parameter list!
Now what surprised me, was that if i untar  LVM2.2.02.05.tgz
and look in lvm-string.h, i see:

...
struct dm_pool;
       ^^^^^^^
...
char *build_dm_name(struct dm_pool *mem, ....
...
which makes the compiler happy.

How and why was this file changed?

-- 
[email protected] mailing list

Reply via email to