Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile on Windows with --gc:orc #48

Open
maleyva1 opened this issue May 15, 2023 · 1 comment
Open

Fails to compile on Windows with --gc:orc #48

maleyva1 opened this issue May 15, 2023 · 1 comment

Comments

@maleyva1
Copy link

maleyva1 commented May 15, 2023

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:

  • Sample program compiles

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

@euantorano
Copy link
Owner

euantorano commented May 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants