Subject: Re: [PATCH]: Fix compilation warning

From: Guy fleury <[email-masked]>
Date: Fri, 29 Mar 2019 14:52:22 +0100

hi,

the compile warning message fix by that patch
-----------------------------------------------------------------------------
 CXX      nix/libstore/libstore_a-optimise-store.o
  CXX      nix/libstore/libstore_a-local-store.o
In file included from nix/libstore/local-store.cc:32:0:
/home/guy/.guix-profile/include/linux/fs.h:33:0: warning: "BLOCK_SIZE"
redefine
 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
 ^
In file included from nix/libstore/local-store.cc:28:0:
/home/guy/.guix-profile/include/sys/mount.h:27:0: note: this is the
location of
 #define BLOCK_SIZE 1024
 ^
In file included from nix/libstore/local-store.cc:32:0:
/home/guy/.guix-profile/include/linux/fs.h:108:0: warning: "MS_RDONLY"
redefine
 #define MS_RDONLY  1 /* Mount read-only */
 ^
In file included from nix/libstore/local-store.cc:28:0:
/home/guy/.guix-profile/include/sys/mount.h:36:0: note: this is the
location of
 #define MS_RDONLY MS_RDONLY

Le ven. 29 mars 2019 à 14:24, Guy fleury <[email-masked]> a écrit :

> hi guix,
>
> this patch fix compilation warning of libstore.a
> i don't know this is a right way to do that.i 'm not yet
> a good ;)
>
>
>