[riot-notifications] [RIOT-OS/RIOT] pkg/wamr: add WAMR to provide WASM support in RIOT (#15329)

Karl Fessel notifications at github.com
Thu Nov 26 14:40:31 CET 2020


@kfessel commented on this pull request.



> @@ -0,0 +1,61 @@
+PKG_NAME=wamr
+PKG_URL=https://github.com/bytecodealliance/wasm-micro-runtime.git
+PKG_VERSION=main
+PKG_LICENSE=Apache-2.0
+
+include $(RIOTBASE)/pkg/pkg.mk
+
+#less Wall TODO: get things fixed upstream
+CFLAGS :=  $(filter-out -pedantic, $(CFLAGS))

If you use the WAMR it has structs that you need to put function pointers into void*. 
These structs are in the header files and there are more void * to void(*)() casts inside.
Not all riot architectures default to build with pedantic enabled. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15329#discussion_r531036107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201126/c0032ecb/attachment.htm>


More information about the notifications mailing list