2019-06-21 18:03:39 +00:00
|
|
|
--define:ssl
|
2020-01-29 02:07:11 +00:00
|
|
|
--define:useStdLib
|
2022-07-05 07:15:38 +00:00
|
|
|
--threads:off
|
2019-10-06 14:41:58 +00:00
|
|
|
|
|
|
|
# workaround httpbeast file upload bug
|
2019-06-25 13:29:39 +00:00
|
|
|
--assertions:off
|
2020-11-07 20:54:23 +00:00
|
|
|
|
|
|
|
# disable annoying warnings
|
|
|
|
warning("GcUnsafe2", off)
|
2022-01-06 14:21:42 +00:00
|
|
|
hint("XDeclaredButNotUsed", off)
|
2022-01-16 05:00:11 +00:00
|
|
|
hint("XCannotRaiseY", off)
|
2022-01-06 14:21:42 +00:00
|
|
|
hint("User", off)
|
2021-12-20 15:31:41 +00:00
|
|
|
|
|
|
|
const
|
|
|
|
nimVersion = (major: NimMajor, minor: NimMinor, patch: NimPatch)
|
|
|
|
|
|
|
|
when nimVersion >= (1, 6, 0):
|
|
|
|
warning("HoleEnumConv", off)
|