mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-24 11:11:02 -07:00
mingw is less aggressive about dead code removal that other gccs are, so
we need to add dependencies in places where they're really not used.
This commit is contained in:
6
Makefile
6
Makefile
@@ -13,12 +13,14 @@ ifeq ($(BUILDTYPE),windows)
|
||||
CC = $(MINGW)gcc
|
||||
CXX = $(MINGW)g++ -std=c++20
|
||||
CFLAGS += -g -O3 \
|
||||
-Wno-unknown-warning-option
|
||||
-Wno-unknown-warning-option \
|
||||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
CXXFLAGS += \
|
||||
-fext-numeric-literals \
|
||||
-Wno-deprecated-enum-float-conversion \
|
||||
-Wno-deprecated-enum-enum-conversion
|
||||
LDFLAGS += -static
|
||||
LDFLAGS += -static -Wl,--gc-sections
|
||||
AR = $(MINGW)ar
|
||||
PKG_CONFIG = $(MINGW)pkg-config -static
|
||||
WINDRES = $(MINGW)windres
|
||||
|
||||
@@ -4,11 +4,72 @@
|
||||
#include <fstream>
|
||||
#include "fmt/format.h"
|
||||
#include "lib/core/globals.h"
|
||||
#include "lib/core/logger.h"
|
||||
#include "tests/testproto.pb.h"
|
||||
#include "lib/config/config.pb.h"
|
||||
#include <sstream>
|
||||
#include <locale>
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const BeginSpeedOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const EndSpeedOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const BeginWriteOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const EndWriteOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const BeginReadOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const EndReadOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const TrackReadLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const DiskReadLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const BeginOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const EndOperationLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const OperationProgressLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
void renderLogMessage(
|
||||
LogRenderer& r, std::shared_ptr<const OptionLogMessage> m)
|
||||
{
|
||||
}
|
||||
|
||||
const std::string protoname = STRINGIFY(PROTO);
|
||||
|
||||
static uint32_t readu8(std::string::iterator& it, std::string::iterator end)
|
||||
|
||||
@@ -64,11 +64,14 @@ export(
|
||||
"+protobuf_lib",
|
||||
"+protocol",
|
||||
".+test_proto_lib",
|
||||
"dep/alphanum",
|
||||
"dep/snowhouse",
|
||||
"lib/algorithms",
|
||||
"lib/config",
|
||||
"lib/core",
|
||||
"lib/data",
|
||||
"lib/fluxsource+proto_lib",
|
||||
"dep/alphanum",
|
||||
"src/formats",
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user