summary refs log tree commit diff stats
path: root/tests/niminaction/Chapter8
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-06-02 17:54:39 +0800
committerGitHub <noreply@github.com>2024-06-02 11:54:39 +0200
commit08f1eac8ac46baccd1701715feb8aca7b00e0be7 (patch)
tree9fb076bd8c172fc19d1562d5982b9a4a570bee90 /tests/niminaction/Chapter8
parentde4c7dfdd9501e286e0e525446e82ff340a628f4 (diff)
downloadNim-08f1eac8ac46baccd1701715feb8aca7b00e0be7.tar.gz
fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660)
fixes #23665
Diffstat (limited to 'tests/niminaction/Chapter8')
-rw-r--r--tests/niminaction/Chapter8/sdl/sdl_test.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/niminaction/Chapter8/sdl/sdl_test.nim b/tests/niminaction/Chapter8/sdl/sdl_test.nim
index 1c4d258fb..db1700e0d 100644
--- a/tests/niminaction/Chapter8/sdl/sdl_test.nim
+++ b/tests/niminaction/Chapter8/sdl/sdl_test.nim
@@ -18,7 +18,7 @@ renderer.setDrawColor 29, 64, 153, 255
 renderer.clear
 renderer.setDrawColor 255, 255, 255, 255
 
-when defined(c):
+when false: # no long work with gcc 14!
   # just to ensure code from NimInAction still works, but
   # the `else` branch would work as well in C mode
   var points = [