Skip to content

Conversation

@CoffeeFlux
Copy link
Contributor

This commit brings us back to zero warnings for the default build configuration.

@ghost
Copy link

ghost commented Jul 28, 2020

Tagging subscribers to this area: @CoffeeFlux
See info in area-owners.md if you want to be subscribed.

@akoeplinger
Copy link
Member

/azp run runtime

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@akoeplinger
Copy link
Member

@CoffeeFlux looks like this causes a build failure on the Windows build:

  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(695,93): error C4047: '=': 'char' differs in levels of indirection from 'gchar *' [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(696,61): error C4047: 'function': 'const char *' differs in levels of indirection from 'char' [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(696,61): warning C4024: 'mono_config_parse_file_with_context': different types for formal and actual parameter 2 [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(697,14): error C4022: 'monoeg_g_free': pointer mismatch for actual parameter 1 [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(701,91): error C4047: '=': 'char' differs in levels of indirection from 'gchar *' [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(702,61): error C4047: 'function': 'const char *' differs in levels of indirection from 'char' [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(702,61): warning C4024: 'mono_config_parse_file_with_context': different types for formal and actual parameter 2 [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]
  F:\workspace\_work\1\s\src\mono\mono\metadata\mono-config.c(703,14): error C4022: 'monoeg_g_free': pointer mismatch for actual parameter 1 [F:\workspace\_work\1\s\src\mono\msvc\libmono-dynamic.vcxproj]

@akoeplinger
Copy link
Member

Which also means we haven't kept these defines in sync with winconfig.h otherwise this code wouldn't have been compiled :D

This commit brings us back to zero warnings for the default build configuration
@CoffeeFlux CoffeeFlux force-pushed the more-warning-fixes branch from 502b51f to bddb183 Compare July 28, 2020 12:35
@CoffeeFlux
Copy link
Contributor Author

Yep, and that one's on me. Addressed here: #40005

@CoffeeFlux CoffeeFlux merged commit ad93942 into dotnet:master Jul 28, 2020
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
This commit brings us back to zero warnings for the default build configuration
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants