We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 229

Summary: [patch] fixed calling conventions for tests
Product: SDL_ttf Reporter: Marc Peter <macpete>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: unspecified   
Hardware: x86   
OS: Windows (All)   
Attachments: patch fixing calling conventions of tests

Description Marc Peter 2006-05-13 18:32:34 UTC
cleanup functions used with atexit() need to use the compiler's default calling convention. SDL_Quit and TTF_Quit use SDL_CALL which may be different.

Watcom makefile for Win32 following in another "bug".
Comment 1 Marc Peter 2006-05-13 18:33:25 UTC
Created attachment 129 [details]
patch fixing calling conventions of tests
Comment 2 Sam Lantinga 2006-05-14 17:13:41 UTC
I removed the use of atexit() in the test programs, thanks!