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 744

Summary: SDL_stdlib.c naked unrecognized extended attribute
Product: SDL Reporter: fuzion.8
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: blocker    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Windows Vista   

Description fuzion.8 2009-05-20 22:58:07 UTC
svn, vc2008, x64
I saw another user had the same problem back in march but I don't think he ever submitted the report. http://thread.gmane.org/gmane.comp.lib.sdl/40621

1>------ Build started: Project: SDL, Configuration: Release x64 ------
1>Compiling...
1>SDL_stdlib.c
1>..\..\src\stdlib\SDL_stdlib.c(43) : error C2485: 'naked' : unrecognized extended attribute
1>..\..\src\stdlib\SDL_stdlib.c(46) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
1>..\..\src\stdlib\SDL_stdlib.c(47) : error C2065: 'push' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(47) : error C2146: syntax error : missing ';' before identifier 'ebp'
1>..\..\src\stdlib\SDL_stdlib.c(48) : error C2065: 'ebp' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(48) : error C2146: syntax error : missing ';' before identifier 'mov'
1>..\..\src\stdlib\SDL_stdlib.c(48) : error C2065: 'mov' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(48) : error C2146: syntax error : missing ';' before identifier 'ebp'
1>..\..\src\stdlib\SDL_stdlib.c(48) : error C2065: 'ebp' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2065: 'esp' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2146: syntax error : missing ';' before identifier 'sub'
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2065: 'sub' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2146: syntax error : missing ';' before identifier 'esp'
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2065: 'esp' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(49) : error C2146: syntax error : missing ';' before identifier 'h'
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2065: 'h' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2146: syntax error : missing ';' before identifier 'and'
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2065: 'and' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2146: syntax error : missing ';' before identifier 'esp'
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2065: 'esp' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(50) : error C2146: syntax error : missing ';' before identifier 'FFFFFFF0h'
1>..\..\src\stdlib\SDL_stdlib.c(51) : error C2065: 'FFFFFFF0h' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(51) : error C2146: syntax error : missing ';' before identifier 'fld'
1>..\..\src\stdlib\SDL_stdlib.c(51) : error C2065: 'fld' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(51) : error C2146: syntax error : missing ';' before identifier 'st'
1>..\..\src\stdlib\SDL_stdlib.c(51) : warning C4013: 'st' undefined; assuming extern returning int
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2146: syntax error : missing ';' before identifier 'fst'
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2065: 'fst' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2146: syntax error : missing ';' before identifier 'dword'
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2065: 'dword' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2146: syntax error : missing ';' before identifier 'ptr'
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2065: 'ptr' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2065: 'esp' : undeclared identifier
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2146: syntax error : missing ']' before identifier 'h'
1>..\..\src\stdlib\SDL_stdlib.c(52) : error C2109: subscript requires array or pointer type
1>..\..\src\stdlib\SDL_stdlib.c(53) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(54) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(55) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(56) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(65) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(66) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(68) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(74) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(76) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(80) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(81) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(83) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(84) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(100) : error C2485: 'naked' : unrecognized extended attribute
1>..\..\src\stdlib\SDL_stdlib.c(101) : error C2143: syntax error : missing ';' before 'type'
1>..\..\src\stdlib\SDL_stdlib.c(104) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
1>..\..\src\stdlib\SDL_stdlib.c(110) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(111) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(115) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(120) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(121) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(124) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(126) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(127) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(128) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(139) : error C2485: 'naked' : unrecognized extended attribute
1>..\..\src\stdlib\SDL_stdlib.c(143) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
1>..\..\src\stdlib\SDL_stdlib.c(148) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(152) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(156) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(157) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(159) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(163) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(167) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(168) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(172) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(173) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(177) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(183) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(184) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(185) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(195) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(197) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(201) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(204) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(221) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(227) : error C2485: 'naked' : unrecognized extended attribute
1>..\..\src\stdlib\SDL_stdlib.c(231) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
1>..\..\src\stdlib\SDL_stdlib.c(234) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(237) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(238) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(242) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(248) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(249) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(250) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(260) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(262) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(266) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(269) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(279) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(285) : error C2485: 'naked' : unrecognized extended attribute
1>..\..\src\stdlib\SDL_stdlib.c(289) : error C4235: nonstandard extension used : '__asm' keyword not supported on this architecture
1>..\..\src\stdlib\SDL_stdlib.c(293) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(297) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(301) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(302) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(304) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(307) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(311) : error C2059: syntax error : 'bad suffix on number'
1>..\..\src\stdlib\SDL_stdlib.c(311) : fatal error C1003: error count exceeds 100; stopping compilation
1>Build log was saved at "file://c:\dev\SDL-1.3-svn\SDL\VisualC\SDL\x64\Release\BuildLog.htm"
1>SDL - 107 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Comment 1 Sam Lantinga 2009-09-26 02:34:51 UTC
This is fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip

Thanks!