As the title says, the following program fails to compile on Windows with --gc:orc:
import serial
for i in listSerialPorts():
echo i
Expected behavior:
Actual behavior:
- The program fails to compile with
--gc:orc and we get the following message:
$HOME\.nimble\pkgs\serial-1.1.5\serial\private\utils\windows_registry.nim(89, 81) Error: expression cannot be cast to pointer
Nim Version:
1.6.12
OS:
Windows 11 Pro 22H2 Build 22621.1702