JIA Pei
2017-03-03 22:11:14 UTC
Hi, all:
Working Environment: Ubuntu 16.04.2
GCC Version: 5.4.0
I successfully configured SDL-2.0.5 for further building. And I configured
wonder which version of C is SDL2-2.0.5 compatible with?
Cheers
Working Environment: Ubuntu 16.04.2
GCC Version: 5.4.0
I successfully configured SDL-2.0.5 for further building. And I configured
CMAKE_C_FLAGS -std=c99
However, I get ERROR messages for the assembly code in file SDL_cpuinfo.cSDL2-2.0.5/src/cpuinfo/SDL_cpuinfo.c:250:34: error: expected â)â before â:â
token
asm(".byte 0x0f, 0x01, 0xd0" : "=a" (a) : "c" (0) : "%edx");
I'm pretty sure this ERROR message has something to do with -std=c99 . Itoken
asm(".byte 0x0f, 0x01, 0xd0" : "=a" (a) : "c" (0) : "%edx");
wonder which version of C is SDL2-2.0.5 compatible with?
Cheers
--
Pei JIA, Ph.D.
Email: ***@gmail.com
cell in Canada: +1 778-863-5816
cell in China: +86 186-8244-3503
Welcome to Vision Open
http://www.visionopen.com
Pei JIA, Ph.D.
Email: ***@gmail.com
cell in Canada: +1 778-863-5816
cell in China: +86 186-8244-3503
Welcome to Vision Open
http://www.visionopen.com