Skip to content

Build fails on armv7l (32 bit) #211

@goldstar611

Description

@goldstar611

While compiling on 32-bit Raspbian OS the following error causes the build to fail:

mnt.cc: In function ‘const string mnt::flagsToStr(long unsigned int)’:
mnt.cc:93:2: error: narrowing conversion of ‘18446744071562067968’ from ‘uint64_t’ {aka ‘long long unsigned int’} to ‘long unsigned int’ inside { } [-Wnarrowing]
  };
  ^
make: *** [Makefile:60: mnt.o] Error 1
make: *** Waiting for unfinished jobs....

nsjail/mnt.cc

Lines 90 to 93 in c7c0adf

#if defined(MS_NOUSER)
NS_VALSTR_STRUCT(MS_NOUSER),
#endif /* defined(MS_NOUSER) */
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions