-
Notifications
You must be signed in to change notification settings - Fork 917
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
type C.bool is undfined #3956
Comments
I´m not SW expert, but searching this argument - #include "stdbool.h" , I found this: #include <stdbool.h> (In Go, this syntax is different) |
https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html The difference between "stdbool.h" and <stdbool.H> is searching path. However it doesn't matter on this case. |
This was corrected in #3928 which will be part of the next release. |
@deadprogram I tested with dev branch. This case still failed. |
Completed with |
Environment:
tinygo version: 0.30.0
operating System: macOS
architecture: aarch64
Description:
Compilation brakes with an undefined C._Bool
Steps to reproduce:
Given the following Go-code:
Run
tinygo run main.go
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: