jupyter-c-kernel icon indicating copy to clipboard operation
jupyter-c-kernel copied to clipboard

Support other C Language Version

Open WqyJh opened this issue 7 years ago • 1 comments
trafficstars

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?

WqyJh avatar Mar 28 '18 09:03 WqyJh

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.

shiroinekotfs avatar Aug 16 '23 01:08 shiroinekotfs