Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Vorbis
Vorbis
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • 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
  • VorbisVorbis
  • Issues
  • #322

Closed
Open
Opened Mar 01, 2003 by bambry@bambry

win32 function calling convention unspecified.

All functions are declared in the .h files without calling convension. If the 
code using your lib doesn't use the same default calling convension, it either 
do not link or break.
This cannot be fixed by recompiling the libs with the same calling convention 
as the application, some file of vorbis.lib are not compiling under vc and 
stdcall as default calling convension: callback function for qsort need to be 
prefixed with cdecl. Also the callback structure should define it's own 
calling convension (probably cdecl too)

You could either fix all h file to prefix the calls to what is in the lib, or 
fix the compile problems of vorbis.lib to compile whatever calling convention 
is used in the lib.

Beside that, i was able to compile and add ogg/vorbis support to my soft very 
quickly. It's also quite fast! good work!.

Thanks

Benoit.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/vorbis#322