Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing undefined reference to 'isnan' '__isinf' for Android NDK 11 #4

Merged
merged 4 commits into from
Aug 23, 2016
Merged

Conversation

leandromsales
Copy link
Contributor

As per [1], android-8 is not supported in Android NDK r11. This commit
updates the Application.mk file to avoid error "undefined reference to
'isnan' '__isinf'" while compiling the code for some platforms, such as
armeabi-v7a and armeabi.

[1] android/ndk#44

This commit fix an issue related to the compilation issue of forward
declaration for the todolist::Todo. The djinni generates the todo.hpp
and todo_list.hpp files. The todo_list.hpp has a forward declaration of
the Todo struct. The code in todo_list.hpp before this commit was
including the file todo.hpp, but since it is an autogenerated file, it
is not recommended to do that. Instead, this commit includes the
todo.hpp in the todo_list_impl.hpp. Please, not that this requires an
update in the content for the file todo_list_impl.hpp in the tutorial
available in [1].

In addition, this commit adds an entry in the Makefile for cleaning the
files generated in the compilation process.

[1]
http://mobilecpptutorials.com/todo-app-using-djinni-and-sqlite-part-1-cplusplus/
This commit fix an issue related to the compilation issue of forward
declaration for the todolist::Todo. The djinni generates the todo.hpp
and todo_list.hpp files. The todo_list.hpp has a forward declaration of
the Todo struct. The code in todo_list.hpp before this commit was
including the file todo.hpp, but since it is an autogenerated file, it
is not recommended to do that. Instead, this commit includes the
todo.hpp in the todo_list_impl.hpp. Please, not that this requires an
update in the content for the file todo_list_impl.hpp in the tutorial
available in [1].

In addition, this commit adds an entry in the Makefile for cleaning the
files generated in the compilation process.

[1]
http://mobilecpptutorials.com/todo-app-using-djinni-and-sqlite-part-1-cplusplus/
As per [1], android-8 is not supported in Android NDK r11. This commit
updates the Application.mk file to avoid error "undefined reference to
'isnan' '__isinf'" while compiling the code for some platforms, such as
armeabi-v7a and armeabi.

[1] android/ndk#44
@stephenwspann stephenwspann merged commit 4d016c9 into stephenwspann:master Aug 23, 2016
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