mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
add and fix -Wignored-qualifiers
Change-Id: I4bffa766ae04dd80355f9b8c10e59700e4b406da Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
parent
52a16b7e59
commit
05bc889b89
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -98,7 +98,7 @@ ifdef HOST_WINDOWS
|
||||||
GLOBAL_LDFLAGS += -Wl,--export-all-symbols
|
GLOBAL_LDFLAGS += -Wl,--export-all-symbols
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GLOBAL_CXXFLAGS += -g -Wall -Wdeprecated-copy -Wimplicit-fallthrough -include $(buildprefix)config.h -std=c++2a -I src
|
GLOBAL_CXXFLAGS += -g -Wall -Wdeprecated-copy -Wignored-qualifiers -Wimplicit-fallthrough -include $(buildprefix)config.h -std=c++2a -I src
|
||||||
|
|
||||||
# Include the main lib, causing rules to be defined
|
# Include the main lib, causing rules to be defined
|
||||||
|
|
||||||
|
|
|
@ -202,7 +202,7 @@ struct CurlInputScheme : InputScheme
|
||||||
{
|
{
|
||||||
const std::set<std::string> transportUrlSchemes = {"file", "http", "https"};
|
const std::set<std::string> transportUrlSchemes = {"file", "http", "https"};
|
||||||
|
|
||||||
const bool hasTarballExtension(std::string_view path) const
|
bool hasTarballExtension(std::string_view path) const
|
||||||
{
|
{
|
||||||
return hasSuffix(path, ".zip") || hasSuffix(path, ".tar")
|
return hasSuffix(path, ".zip") || hasSuffix(path, ".tar")
|
||||||
|| hasSuffix(path, ".tgz") || hasSuffix(path, ".tar.gz")
|
|| hasSuffix(path, ".tgz") || hasSuffix(path, ".tar.gz")
|
||||||
|
|
Loading…
Reference in a new issue