Skip to content

define SQLITE_HAVE_ISNAN so xcode 10 will compile - #7301

Merged
dorodnic merged 1 commit into
realsenseai:developmentfrom
robtherich:master
Oct 27, 2020
Merged

define SQLITE_HAVE_ISNAN so xcode 10 will compile#7301
dorodnic merged 1 commit into
realsenseai:developmentfrom
robtherich:master

Conversation

@robtherich

Copy link
Copy Markdown

When trying to build librealsense using xcode 10 on macOS 10.14 I ran into the following build error: "SQLite will not work correctly with the -ffast-math option of GCC"

The following stackoverflow post suggests defining SQLITE_HAVE_ISNAN in order to fix that error:
https://stackoverflow.com/questions/48917320/getting-gcc-error-when-using-sqlite-and-fast-math-sqlite-will-not-work-correct

@robtherich robtherich changed the title define SQLITE_HAVE_ISNAN so the xcode 10 will compile define SQLITE_HAVE_ISNAN so xcode 10 will compile Sep 11, 2020
@dorodnic
dorodnic changed the base branch from master to development October 27, 2020 09:20
@dorodnic

Copy link
Copy Markdown
Contributor

Thanks @robtherich

@dorodnic
dorodnic merged commit fe0a6b1 into realsenseai:development Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants