-
Notifications
You must be signed in to change notification settings - Fork 276
support for C headers #298
Comments
Currently the service allows to do that, see https://github.com/yurydelendik/clang-heroku-slug/blob/master/app/src/build.js#L11. We need to implement ClangService to send all files there. |
@yurydelendik How I can fetch the header file with the extension .h and .hpp and send to compilerservice because right now we can only fetch .c and .cpp and the other extension not .h or .hpp extension and how I can attach the main.c and the header file , can you elaborate please!. |
@iFlameing the .h/.hpp shall be sent to the service in the same way as .c/.cpp. If wasm-studio does not support .h extension -- we shall add it. We may want to mark these with different type, rather than C or CPP, so they will not be included in clang arguments. |
if we send the .h/.hpp file same way then we have to define a new clang service because createCompilerService does not support the h/hpp file . I try your approach of sending the header.h file as same as c/cpp but it gives me error "[error]: createCompilerService: not supported h->wasm". |
Hi there,
Perhaps I've missed it, but it seems as if there's no way to add a header (.h, .hpp) file to the project. It would be great to have that functionality added.
Thanks!
The text was updated successfully, but these errors were encountered: