Skip to content

Commit

Permalink
update warning in the number_theory/test_tools.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
i80287 committed Oct 4, 2024
1 parent 3912b5f commit 78b82cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions number_theory/test_tools.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#pragma once

#ifdef NDEBUG
#ifdef _MSC_VER
#pragma message("Can't test properly with NDEBUG macro defined (macro won't be undefined manually)")
#else
#warning("Can't test properly with NDEBUG macro defined (macro won't be undefined manually)")
#endif
#endif

#include <algorithm>
#include <array>
Expand Down

0 comments on commit 78b82cf

Please sign in to comment.