I get the warning "'used' attribute ignored [-Wignored-attributes]”. I’m not 
using c++17 so can’t try the second.

Regards

    -Mark

> On Dec 26, 2019, at 21:52, Shachar Langbeheim <[email protected]> wrote:
> 
> The second solution assumes that you compile using c++17 or later.
> 
> On Fri, 27 Dec 2019 at 07:50, Shachar Langbeheim <[email protected] 
> <mailto:[email protected]>> wrote:
> Try either add '__attribute__((used))' or defining the constant as 'static 
> inline'.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/4F5D23B5-D9A4-43A4-9BE2-958839653E7B%40callow.im.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to