This is probably more if a question than an issue.
Reproduction steps:
git clone https://github.com/google/webcrypto.dart
cd webcrypto.dart/
flutter pub get
flutter pub run ffigen --config=lib/src/third_party/boringssl/ffigen.yaml
I get a lot of warnings like:
[WARNING]: No definition found for declaration - (Cursor) spelling: evp_aead_st, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct evp_aead_st, usr: c:@S@evp_aead_st
There is a declaration typedef struct evp_aead_st EVP_AEAD; in a header file.
But the definition is inside an internal.h file (which I'm guessing isn't included from src/include/openssl/.
This is probably more if a question than an issue.
Reproduction steps:
I get a lot of warnings like:
From what I can see these are internal things.
There is a declaration
typedef struct evp_aead_st EVP_AEAD;
in a header file. But the definition is inside aninternal.h
file (which I'm guessing isn't included fromsrc/include/openssl/
.I have
structs.dependency-only: opaque
in myffigen.yaml
file.Am I supposed to ignore this warning? Or is there a config option I'm missing?
Be ware it's obviously very plausible that I'm doing some fairly naive very wrong :rofl: