Skip to content

firebase_auth_plugin.cpp: Bug in running Windows #13317

Open
@Paularezk3

Description

@Paularezk3

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Auth, Storage

Which platforms are affected?

Web, Windows

Description

expected to run smoothly as always but after upgrading flutter this error lines appeared
E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_auth\windows\firebase_auth_plugin.cpp(1110,39): error C2220: the following warning is treated as an error [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_auth\firebase_auth_plugin.vcxproj]
E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_auth\windows\firebase_auth_plugin.cpp(1110,39): warning C4996: 'firebase::auth::User::UpdateEmail': was declared deprecated [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_auth\firebase_auth_plugin.vcxproj]
E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_storage\windows\firebase_storage_plugin.cpp(4,1): error C2220: the following warning is treated as an error [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_storage\firebase_storage_plugin.vcxproj]
E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_storage\windows\firebase_storage_plugin.cpp(4,1): warning C4005: '_CRT_SECURE_NO_WARNINGS': macro redefinition [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_storage\firebase_storage_plugin.vcxproj]
Building Windows application... 473.8s
Build process failed.

Reproducing the issue

just run the windows platform on flutter with firebase storage plugin and auth plugin

Firebase Core version

2.32.0

Flutter Version

3.24.2

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions