Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Opus
Opus
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Xiph.Org
  • OpusOpus
  • Merge Requests
  • !14

Merged
Opened Jul 20, 2020 by Nirbheek Chauhan@nirbheekContributor

Various Windows and MSVC fixes

  • Overview 11
  • Commits 5
  • Pipelines 10
  • Changes 8

commit 5aa5b6fd:

silk: Fix incorrect ifdef in debug.c

commit e0a320f2:

celt: Fix broken SSE pre-processor check due to typo
This broke 5 years ago in 43120f00758219a784f952754f33b9788a8d731b

commit bfc69b7a:

Replace WIN32 with _WIN32 everywhere
_WIN32 is defined on all Windows platforms by every compiler that
targets Windows. We do not need WIN32 at all.

commit 3d052c60:

repacketizer_demo: check for read errors to fix compiler warnings
Actually check for read errors instead of just storing the
return value in a variable that then never gets checked.

Also fixes "conversion from 'size_t' to 'int', possible loss
of data" compiler warnings on Windows with MSVC caused by
storing the size_t returned by fread() into an int variable.

commit 7b69fa90:

Fix MSVC warning about trunction from double to float
Specify the precision as float to avoid truncating from double.

This MR contains code-only fixes, and !13 (merged) is based on top of this MR.

Edited Aug 12, 2020 by Nirbheek Chauhan
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: xiph/opus!14
Source branch: windows-fixes