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

Annoying deprecated alerts. #2

Open
zekiegitimcom opened this issue Mar 23, 2021 · 0 comments
Open

Annoying deprecated alerts. #2

zekiegitimcom opened this issue Mar 23, 2021 · 0 comments

Comments

@zekiegitimcom
Copy link

Your package works in Dart's 2.10 and later versions, but the following warning messages appear on the console screen. I think it's time to update the package.


../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_sqlite3-0.3.0/lib/src/bindings/types.dart:16:7: Info: Struct 'Database' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Database extends Struct {}
      ^

../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_sqlite3-0.3.0/lib/src/bindings/types.dart:39:7: Info: Struct 'Statement' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Statement extends Struct {}
      ^

../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_sqlite3-0.3.0/lib/src/bindings/types.dart:75:7: Info: Struct 'Value' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Value extends Struct {}
      ^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Info: Struct 'Utf8' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Utf8 extends Struct {
      ^

../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Info: Struct 'Utf16' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Utf16 extends Struct {
      ^

../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Info: Support for using non-constant type arguments 'T' in this FFI API is deprecated and will be removed in the next stable version of Dart. Rewrite the code to ensure that type arguments are compile time constants referring to a valid native type.
  final int totalSize = count * sizeOf<T>();
                                ^

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

No branches or pull requests

1 participant