Skip to content

Fix warnings - #34

Merged
rboston628 merged 9 commits into
mainfrom
fix-warnings
Jul 4, 2026
Merged

Fix warnings#34
rboston628 merged 9 commits into
mainfrom
fix-warnings

Conversation

@rboston628

@rboston628 rboston628 commented Jul 4, 2026

Copy link
Copy Markdown
Owner

THRAIN is my dissertation code. I made it while a graduate student at UNC, and it wa entirely developed using an Intel Mac running GCC. I had multiple warning flags turned on, and THRAIN always built locally without compiler error or warning.

When I setup the automatic GitHub CI/CD, I discovered there were hundreds of errors when building on other systems (including when building on Mac with clang).

This has been a long standing nuisance, especially when trying to debug errors on systems, where the unit tests are littered with warning statements.

The purpose of this PR is to clear out the compiler warnings.

Check compilers. There should be no compiler warnings.

  • ubuntu gcc clear
  • ubuntu gcc9 clear
  • macos gcc clear
  • macos clang clear
  • windows gcc clear

From now on, compile warnings on any system will be treated as an error, to prevent further warnings from building up.

@rboston628
rboston628 marked this pull request as ready for review July 4, 2026 19:02
@rboston628
rboston628 merged commit 07844fe into main Jul 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant