Closed juliusl closed 8 years ago
@juliusl Thanks for the details. https://github.com/Microsoft/ChakraCore/pull/1479 fixes this. Once it is merged, will update here.
@obastemur Awesome, thanks!
Microsoft/ChakraCore#1479 is merged. closing this one too
Building the Linux sample, while including the ChakraCore header file will complain about the type
byte
not being defined.The workaround I found was to just define the type on top of sample.cpp before
#include "ChakraCore.h"
(The type can be defined astypedef unsigned char byte;
)Not really sure the best way to fix this permanently which is why I'm not posting the workaround as a PR. I noticed a todo in the source for ChakraCommon.h mentioning to reduce the usage of these types for better x-plat, I guess eventually that would fix this build issue?
Here is the compilation error I get on Ubuntu 16.04 --