neslib / Neslib.Json

Fast and memory-efficient JSON for Delphi
Other
79 stars 23 forks source link

Neslib.Utf8 - Compile error on Linux64: [Get|Reset|Set]MXCSR #3

Closed dslutej closed 3 years ago

dslutej commented 4 years ago

Linux64:

[DCC Error] Neslib.Utf8.pas(1685): E2003 Undeclared identifier: 'GetMXCSR' [DCC Error] Neslib.Utf8.pas(1687): E2003 Undeclared identifier: 'ResetMXCSR' [DCC Error] Neslib.Utf8.pas(1783): E2003 Undeclared identifier: 'GetMXCSR' [DCC Error] Neslib.Utf8.pas(1785): E2003 Undeclared identifier: 'SetMXCSR'

Windows64:

[dcc64 Warning] Neslib.Utf8.pas(1685): W1002 Symbol 'GetMXCSR' is specific to a platform [dcc64 Warning] Neslib.Utf8.pas(1687): W1002 Symbol 'ResetMXCSR' is specific to a platform [dcc64 Warning] Neslib.Utf8.pas(1783): W1002 Symbol 'GetMXCSR' is specific to a platform [dcc64 Warning] Neslib.Utf8.pas(1785): W1002 Symbol 'SetMXCSR' is specific to a platform [dcc64 Warning] Neslib.Utf8.pas(1853): W1002 Symbol 'SetMXCSR' is specific to a platform

neslib commented 4 years ago

Thanks for the report. I don’t use Linux myself, so haven’t tested this. I will look into this when I’m back from a vacation.

neslib commented 4 years ago

The issue should be fixed now. However, I don't use Linux so I haven't been able to test it. Please let me know if this fixes the issue for you.

Note that the issue is in the Neslib submodule, so you need to pull this submodule as well.

neslib commented 3 years ago

Haven't heard back in over a year, so I assume this issue is fixed now.