Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Stop disabling warning 4244 because BinSkim fails if it sees one #14258

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Jan 8, 2025

Description

This PR removes all instances where we ignore warning 4244 (loss of data when casting double to int) because BinSkim won't let us pass compliance when that happens.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

Compliance, fix publish, see above.

Closes #14251

What

See above.

Screenshots

N/A

Testing

N/A

Changelog

Should this change be included in the release notes: yes

Stop disabling warning 4244 because BinSkim fails if it sees one

Microsoft Reviewers: Open in CodeFlow

This PR removes all instances where we ignore warning 4244 (loss of data
when casting double to int) because BinSkim won't let us pass compliance
when that happens.

Closes microsoft#14251
@jonthysell jonthysell requested a review from a team as a code owner January 8, 2025 18:48
@jonthysell jonthysell merged commit 5957d0a into microsoft:main Jan 8, 2025
59 checks passed
@jonthysell jonthysell deleted the fix4244 branch January 8, 2025 22:00
jonthysell added a commit to jonthysell/react-native-windows that referenced this pull request Jan 8, 2025
…rosoft#14258)

## Description

This PR removes all instances where we ignore warning 4244 (loss of data when casting double to int) because BinSkim won't let us pass compliance when that happens.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
Compliance, fix publish, see above.

Closes microsoft#14251

### What
See above.

## Screenshots
N/A

## Testing
N/A

## Changelog
Should this change be included in the release notes: _yes_

Stop disabling warning 4244 because BinSkim fails if it sees one
jonthysell added a commit that referenced this pull request Jan 8, 2025
) (#14260)

## Description

This PR removes all instances where we ignore warning 4244 (loss of data when casting double to int) because BinSkim won't let us pass compliance when that happens.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
Compliance, fix publish, see above.

Closes #14251

### What
See above.

## Screenshots
N/A

## Testing
N/A

## Changelog
Should this change be included in the release notes: _yes_

Stop disabling warning 4244 because BinSkim fails if it sees one
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

BinSkim Error BA2007 in react-native-win32.dll
2 participants