
16.01.2008, 12:01
|
|
Постоянный
Регистрация: 10.11.2006
Сообщений: 416
Провел на форуме: 5636868
Репутация:
849
|
|
Код:
# define BYTESWAP(n) ( \
(((n)&0x000000ff) << 24) | \
(((n)&0x0000ff00) << 8 ) | \
(((n)&0x00ff0000) >> 8 ) | \
(((n)&0xff000000) >> 24) )
не пойму, почему интерпретатору не нравится этот кусок кода... Сама ошибка
Код:
gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -L/usr/local/lib -funroll-loops xxxxxxx.c
xxxxxxx.c:68: syntax error before `&'
xxxxxxx.c:68: stray '\' in program
xxxxxxx.c:69: stray '\' in program
xxxxxxx.c:70: stray '\' in program
*** Error code 1
|
|
|