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