Re: Fail to build SDL-2.0.5, after enabling -std=c99 ...
JIA Pei <[email protected]> Mon, 6 Mar 2017 11:07:05 -0800
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CADh8Q_U5VTXmwLekT3+ohoxZQzt4rcce8o8q3sc01oHTqza-gQ@mail.gmail.com> |
--===============8258498036682579705== Content-Type: multipart/alternative; boundary=94eb2c191870f65b6c054a1499db --94eb2c191870f65b6c054a1499db Content-Type: text/plain; charset=UTF-8 Thank you... That works for me.... Thanks... On Fri, Mar 3, 2017 at 2:13 PM, Sik the hedgehog <[email protected] > wrote: > Try -std=gnu99 (if I recall correctly) > > Looks like the problem is using asm instead of a reserved keyword > (whoops). -std=c99 will disable any extensions, -std=gnu99 will keep > them. > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > -- Pei JIA, Ph.D. Email: [email protected] cell in Canada: +1 778-863-5816 cell in China: +86 186-8244-3503 Welcome to Vision Open http://www.visionopen.com --94eb2c191870f65b6c054a1499db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br class=3D"gmail-Apple-interchange-newline">Thank you...= That works for me.... Thanks...</div><div class=3D"gmail_extra"><br><div c= lass=3D"gmail_quote">On Fri, Mar 3, 2017 at 2:13 PM, Sik the hedgehog <span= dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_b= lank">[email protected]</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex">Try -std=3Dgnu99 (if I recall correctly)<br> <br> Looks like the problem is using asm instead of a reserved keyword<br> (whoops). -std=3Dc99 will disable any extensions, -std=3Dgnu99 will keep<br= > them.<br> ______________________________<wbr>_________________<br> SDL mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org" rel=3D"nore= ferrer" target=3D"_blank">http://lists.libsdl.org/<wbr>listinfo.cgi/sdl-lib= sdl.org</a><br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><d= iv><br></div><div>Pei JIA, Ph.D.</div><div><br></div><div>Email: <a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a></div><di= v>cell in Canada: =C2=A0 =C2=A0+1 778-863-5816</div><div>cell in China: +86= 186-8244-3503</div><div><br></div>Welcome to Vision Open<br><a href=3D"htt= p://www.visionopen.com" target=3D"_blank">http://www.visionopen.com</a></di= v></div> </div> --94eb2c191870f65b6c054a1499db-- --===============8258498036682579705== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org --===============8258498036682579705==--