Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FTBFS on gcc 14.2.0 on Linux. #143

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ ccap = $(shell echo $(CCAP) | tr -d '.')

ifdef gpu
ifdef debug
CXXFLAGS = -DWITHGPU -m64 -mssse3 -Wno-write-strings -g -I. -I$(CUDA)/include
CXXFLAGS = -DWITHGPU -m64 -mssse3 -Wno-write-strings -g -fno-strict-aliasing -I. -I$(CUDA)/include
else
CXXFLAGS = -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I$(CUDA)/include
CXXFLAGS = -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -fno-strict-aliasing -I. -I$(CUDA)/include
endif
LFLAGS = -lpthread -L$(CUDA)/lib64 -lcudart
else
ifdef debug
CXXFLAGS = -m64 -mssse3 -Wno-write-strings -g -I. -I$(CUDA)/include
CXXFLAGS = -m64 -mssse3 -Wno-write-strings -fno-strict-aliasing -g -I. -I$(CUDA)/include
else
CXXFLAGS = -m64 -mssse3 -Wno-write-strings -O2 -I. -I$(CUDA)/include
CXXFLAGS = -m64 -mssse3 -Wno-write-strings -O2 -fno-strict-aliasing -I. -I$(CUDA)/include
endif
LFLAGS = -lpthread
endif
Expand Down
1 change: 1 addition & 0 deletions Timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define TIMERH

#include <time.h>
#include <cstdint>
#include <string>
#ifdef WIN64
#include <windows.h>
Expand Down
1 change: 1 addition & 0 deletions hash/sha256.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef SHA256_H
#define SHA256_H
#include <string>
#include <cstdint>

void sha256(uint8_t *input,int length, uint8_t *digest);
void sha256_33(uint8_t *input, uint8_t *digest);
Expand Down
1 change: 1 addition & 0 deletions hash/sha512.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef SHA512_H
#define SHA512_H
#include <string>
#include <cstdint>

void sha512(unsigned char *input, int length, unsigned char *digest);
void pbkdf2_hmac_sha512(uint8_t *out, size_t outlen,const uint8_t *passwd, size_t passlen,const uint8_t *salt, size_t saltlen,uint64_t iter);
Expand Down