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

Fix mingw compiler error due to missing function declaration #297

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

Biswa96
Copy link
Contributor

@Biswa96 Biswa96 commented Sep 9, 2024

This fixes the following compiler errors.
time_zone_lookup.cc:78:34: error: 'WindowsCreateStringReference' was not declared in this scope time_zone_lookup.cc:84:34: error: 'WindowsDeleteString' was not declared in this scope time_zone_lookup.cc:90:34: error: 'WindowsGetStringRawBuffer' was not declared in this scope

Also, official documentation suggests to include the winstring.h header. https://learn.microsoft.com/en-us/windows/win32/api/winstring/nf-winstring-windowsgetstringrawbuffer

Biswa96 and others added 2 commits September 9, 2024 14:15
This fixes the following compiler errors.
time_zone_lookup.cc:78:34: error: 'WindowsCreateStringReference' was not declared in this scope
time_zone_lookup.cc:84:34: error: 'WindowsDeleteString' was not declared in this scope
time_zone_lookup.cc:90:34: error: 'WindowsGetStringRawBuffer' was not declared in this scope

Also, official documentation suggests to include the winstring.h header.
https://learn.microsoft.com/en-us/windows/win32/api/winstring/nf-winstring-windowsgetstringrawbuffer
@derekmauro derekmauro merged commit 8bdbd84 into google:master Sep 9, 2024
6 checks passed
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