Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-10-01 Thread Brian Gavin
I just wanted to follow up. The change you made fixed the problem. On Saturday, June 20, 2020 at 9:44:41 AM UTC-4 Floh wrote: > I agree with Alon, even though it's not "good practice" to have > include/emscripten in the search path, the problems that result from such a > name collision

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-20 Thread Floh
I agree with Alon, even though it's not "good practice" to have include/emscripten in the search path, the problems that result from such a name collision might be too confusing because nothing points to the file include/emscripten/math.h being the problem (also the function in

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-18 Thread 'Sam Clegg' via emscripten-discuss
On Thu, Jun 18, 2020 at 8:49 AM Alon Zakai wrote: > Perhaps we should rename emscripten/math.h to emscripten/em_math.h, or > something else? It seems risky to leave as it is. > I mean it would also fix the issue... but its also a good way to ensure we are all the same page about our include

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-18 Thread 'Sam Clegg' via emscripten-discuss
Are you sure? Having 'system/include/emscripten' in the include path is almost certainly the culprit. Can you post the failing emcc command along with `-v` added to the command line to show the include path its using? cheers, sam On Thu, Jun 18, 2020 at 7:33 AM Brian Gavin wrote: > I was

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-18 Thread Alon Zakai
Perhaps we should rename emscripten/math.h to emscripten/em_math.h, or something else? It seems risky to leave as it is. On Thu, Jun 18, 2020 at 7:33 AM Brian Gavin wrote: > I was using 'system/include/emscripten' as an include path so I removed > it, but I am still seeing the same errors. > >

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-18 Thread Brian Gavin
I was using 'system/include/emscripten' as an include path so I removed it, but I am still seeing the same errors. Brian Gavin -- 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

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-17 Thread 'Sam Clegg' via emscripten-discuss
I think this is related to the adding of `emscripten/math.h`. Is your build system adding `system/include/emscripten` to the include path?The recommended fix would be remove this from your include path. Hopefully that isn't a problem for you. If it is we could potentially rename this

Re: Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-17 Thread Brian Gavin
After doing some more testing the problem first appears when using version 1.39.16 of Emscripten Brian Gavin -- 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

Compiler error in Emscripten v1.39.18 -no member named 'acos' in the global namespace

2020-06-17 Thread Brian Gavin
Hello, When I tried to upgrade from Emscripten version 1.39.15 to 1.39.18. I am now getting some compiler error related to things in the cmath file. Is there a new flag I need to add or something similar? emsdk\upstream\EMEA44~1\system\include\libcxx\cmath(338,9): error G1A4676F8: no