mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-09 15:58:05 +02:00
Fix some warnings
I think they came from the last Nixpkgs bump.
This commit is contained in:
parent
e92dd06a7b
commit
1ae5738317
3 changed files with 8 additions and 1 deletions
|
@ -2,7 +2,11 @@
|
|||
#include "eval-inline.hh"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wswitch-enum"
|
||||
#include <toml.hpp>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#include "compression.hh"
|
||||
#include "filetransfer.hh"
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wswitch-enum"
|
||||
#include <aws/core/Aws.h>
|
||||
#include <aws/core/VersionConfig.h>
|
||||
#include <aws/core/auth/AWSCredentialsProvider.h>
|
||||
|
@ -25,6 +27,7 @@
|
|||
#include <aws/s3/model/ListObjectsRequest.h>
|
||||
#include <aws/s3/model/PutObjectRequest.h>
|
||||
#include <aws/transfer/TransferManager.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
using namespace Aws::Transfer;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace Aws { namespace Client { class ClientConfiguration; } }
|
||||
namespace Aws { namespace Client { struct ClientConfiguration; } }
|
||||
namespace Aws { namespace S3 { class S3Client; } }
|
||||
|
||||
namespace nix {
|
||||
|
|
Loading…
Reference in a new issue