| ||||||||
adm | Find | login register |
gcin-im-client.cpp:14:2: error: #else without #if
edt1023:/tmp/gcin-1.4.7.pre22$ gcc --version glibc-2.7 Zenwalk 5.2
| |||||||||||||
| |||||||||||||
哇咧,還真的是有 bom。你是怎麼發現的? eliu @_@ | |||||||||||||
| |||||||||||||
vim -b file 就可以看得見 bom,把他刪除,存檔就成了。或 cat file | od -t x1 | grep 'ef bb bf' → 檢查檔案是否含 UTF-8 BOM cut -b 4- file > file-nobom → 去除 BOM 或者也有人寫了專用工具 bomstrip: http://www.xs4all.nl/~mechiel/projects/bomstrip/ 再或者,你想練一下 perl/python/ruby/php,那就寫一小段 script 處理一下。 edited: 3
|
| ||||||||
adm | Find | login register |