Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

version 4.1.0 update

tilakpatel22239a242ece12
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index bf2c040ef..ab3dc87bf 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -604,8 +604,12 @@ jobs:
# Remove leading whitespace from spec file
sed -i 's/^ //' ~/rpmbuild/SPECS/fincept-terminal.spec
+ # --buildroot MUST differ from RPM_ROOT (the cmake-staged tree): rpmbuild
+ # wipes %{buildroot} before %install, so reusing RPM_ROOT would delete the
+ # staged files and the spec's `cp -a RPM_ROOT/* %{buildroot}/` would then
+ # copy an empty dir into itself ("cannot stat ... No such file or directory").
rpmbuild -bb ~/rpmbuild/SPECS/fincept-terminal.spec \
- --buildroot "${PWD}/${RPM_ROOT}" \
+ --buildroot "${PWD}/build/rpm-buildroot" \
--define "_rpmdir ${PWD}/build"
mv build/x86_64/fincept-terminal-${VERSION}-1.x86_64.rpm \
@@ -647,10 +651,16 @@ jobs:
BASENAME="FinceptTerminal-${VERSION}-linux-x64-wizard"
( cd build && cpack -G IFW -D CPACK_PACKAGE_FILE_NAME="${BASENAME}" --verbose )
- # IFW emits <name>.run; rename to .bin so the updater regex
- # (\.run$|linux.*setup) never selects it over the AppImage.
- SRC=$(ls build/${BASENAME}.run 2>/dev/null | head -1)
- [ -n "${SRC}" ] || { echo "::error::IFW .run not produced"; ls -la build; exit 1; }
+ # IFW emits <name>.run on Linux; rename to .bin so the updater regex
+ # (\.run$|linux.*setup) never selects it over the AppImage. This wizard
+ # is optional/additive (AppImage/.deb/.rpm are the real artifacts) and the
+ # IFW-on-Linux path is unvalidated — if cpack didn't emit a .run, skip
+ # gracefully rather than fail the release.
+ SRC=$(ls build/${BASENAME}.run 2>/dev/null | head -1 || true)
+ if [ -z "${SRC}" ]; then
+ echo "::warning::IFW wizard .run not produced (cpack emitted: $(ls build/${BASENAME}* 2>/dev/null | xargs -n1 basename 2>/dev/null | tr '\n' ' ')). Skipping optional Linux wizard installer; AppImage/.deb/.rpm are unaffected."
+ exit 0
+ fi
mv "${SRC}" "build/${BASENAME}.bin"
chmod +x "build/${BASENAME}.bin"
echo "Built: ${BASENAME}.bin ($(du -sh "build/${BASENAME}.bin" | cut -f1))"
diff --git a/fincept-qt/CMakeLists.txt b/fincept-qt/CMakeLists.txt
index fdb051d9e..1fc7ff309 100644
--- a/fincept-qt/CMakeLists.txt
+++ b/fincept-qt/CMakeLists.txt
@@ -205,6 +205,15 @@ if(MSVC)
# /W4 : level-4 warnings (highest practical without /Wall noise)
# /WX only in CI so local iteration isn't blocked by new warnings
add_compile_options(/Z7 /Oi /bigobj /permissive- /W4)
+ # Suppress /W4 warnings that have NO -Wall/-Wextra equivalent on GCC/Clang, so
+ # all three compilers enforce a consistent policy under -Werror/-WX:
+ # C4456-C4459 = variable shadowing (GCC/Clang's -Wshadow, deliberately NOT in
+ # -Wall -Wextra — pervasive/benign in Qt code, e.g. a local
+ # 'data' hiding QWidget::data, or 'self'/'w' shadowing a local).
+ # C4804 = bool used in a comparison (e.g. the Qt6 idiom
+ # `QHash::remove(k) > 0`, where remove() now returns bool).
+ # These are style, not bugs — the same code compiles clean under GCC/Clang.
+ add_compile_options(/wd4456 /wd4457 /wd4458 /wd4459 /wd4804)
if(DEFINED ENV{CI})
add_compile_options(/WX)
endif()