GNU bug report logs - #35040
[PATCH]: Fix compilation warning

Previous Next

Package: guix-patches;

Reported by: Guy fleury <hoonandon <at> gmail.com>

Date: Fri, 29 Mar 2019 13:24:02 UTC

Severity: normal

Tags: patch

Done: guy fleury iteriteka <hoonandon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Guy fleury <hoonandon <at> gmail.com>
To: Guix-patches <at> gnu.org
Subject: [bug#35040] [PATCH]: Fix compilation warning
Date: Fri, 29 Mar 2019 14:52:22 +0100
[Message part 1 (text/plain, inline)]
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 <hoonandon <at> gmail.com> 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 ;)
>
>
>
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.