ivk1800 / td-json-client-prebuilt

Apache License 2.0
6 stars 9 forks source link

a lot of warning when building opeen ssl 3.0.13 #2

Closed JrAnTran closed 5 months ago

JrAnTran commented 5 months ago

@ivk1800

Hello,

I'm compiling libtdjsonandroid with your fix on 1.8.29, using instructions here https://github.com/tdlib/td/issues/77#issuecomment-640719893

open-ssl 3.0.13 and ndk version 23.2.8568313

it then generates a lot of warnings on building process, any way at the end it produces 4 folders including (see the picture attached) with libs created inside.

Is that an issue? Screenshot from 2024-05-09 11-00-49

+++++++++++++++++++++++++++++++++++++++++++++++ warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined]

define __ANDROID_API__ 21

    ^
:361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^ 1 warning generated. In file included from :368: :3:9: warning: '__ANDROID_API__' macro redefined [-Wmacro-redefined] #define __ANDROID_API__ 21 ^ :361:9: note: previous definition is here #define __ANDROID_API__ __ANDROID_MIN_SDK_VERSION__ ^
ivk1800 commented 5 months ago

I am do not use local machine for build tdlib, please check github action script It is best to contact this question at https://github.com/tdlib/td/issues/77

JrAnTran commented 5 months ago

I am do not use local machine for build tdlib, please check github action script It is best to contact this question at tdlib/td#77

I run the libs created above normally, so I think it's trivial.Close it now @ivk1800