Version v0.3.42 - -m Suppress miniz warnings in archive.c header include

This commit is contained in:
2025-12-27 11:51:10 -05:00
parent e126e30889
commit 81eded2995
3 changed files with 9 additions and 4 deletions

View File

@@ -58,14 +58,14 @@ One-time pads can be trivially encrypted and decrypted using pencil and paper, m
### Download Pre-Built Binaries ### Download Pre-Built Binaries
**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.40/otp-v0.3.40-linux-x86_64)** **[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.41/otp-v0.3.41-linux-x86_64)**
**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.40/otp-v0.3.40-linux-arm64)** **[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.41/otp-v0.3.41-linux-arm64)**
After downloading: After downloading:
```bash ```bash
# Rename for convenience, then make executable # Rename for convenience, then make executable
mv otp-v0.3.40-linux-x86_64 otp mv otp-v0.3.41-linux-x86_64 otp
chmod +x otp chmod +x otp
# Run it # Run it

View File

@@ -11,7 +11,12 @@
#include <time.h> #include <time.h>
#include "main.h" #include "main.h"
#include "microtar/microtar.h" #include "microtar/microtar.h"
// Suppress warnings from miniz header
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
#include "miniz/miniz.h" #include "miniz/miniz.h"
#pragma GCC diagnostic pop
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// DIRECTORY ARCHIVING FUNCTIONS // DIRECTORY ARCHIVING FUNCTIONS

View File

@@ -23,7 +23,7 @@
#include <ctype.h> #include <ctype.h>
// Version - Updated automatically by build.sh // Version - Updated automatically by build.sh
#define OTP_VERSION "v0.3.40" #define OTP_VERSION "v0.3.41"
// Constants // Constants
#define MAX_INPUT_SIZE 4096 #define MAX_INPUT_SIZE 4096