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

Support other C Language Version #48

Open
WqyJh opened this issue Mar 28, 2018 · 1 comment
Open

Support other C Language Version #48

WqyJh opened this issue Mar 28, 2018 · 1 comment

Comments

@WqyJh
Copy link

WqyJh commented Mar 28, 2018

In jupyter_c_kernel, codes would be compiled in C11, why not add support for other c version.

Currently, I've tried add an compile flag //%cflags:-std=gnu89, but it didn't work. After I checked the source code of the kernel.py, I found that the -std=c11 is hard coded in it. I tried removing it, and restart the kernel, but it doesn't work too.

So I wonder if it's hard to enable other c version, if not, would you please add an support for it?

@shiroinekotfs
Copy link

In jupyter_c_kernel, codes would be compiled in C11, why not add support for other c version.

Currently, I've tried add an compile flag //%cflags:-std=gnu89, but it didn't work. After I checked the source code of the kernel.py, I found that the -std=c11 is hard coded in it. I tried removing it, and restart the kernel, but it doesn't work too.

So I wonder if it's hard to enable other c version, if not, would you please add an support for it?

You can make your own one, depending on your gcc supporting languages.

Just read the source code carefully.

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