It should also print out the function name, was there nothing after that line? if not, it might be on a global object and not inside a function.
The best thing is to look in the bitcode for that NaN. In practice, though, there's a good chance this warning can be ignored. On Tue, Apr 17, 2018 at 11:57 AM, Corey Lucier <[email protected]> wrote: > I am seeing the following warning for most of the modules I am compiling > to Emscripten using the latest version. > > Any idea how I might be able to narrow down and address the root cause? > > Thank you in advance. > > emcc: warning: cannot represent a NaN literal '0x7fd9ff2c27c0' with custom > bit pattern in NaN-canonicalizing JS engines (e.g. Firefox and Safari) > without erasing bits! > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
