文字コードとおもわれるコンパイルエラー
PS3にインストールしてあるYellow Dog LinuxでSIMD演算のサンプルプログラムをコンパイルしようとしました
おおよそこんな感じのエラー
test.c:22: error: `B' undeclared (first use in this function)
test.c:22: error: (Each undeclared identifier is reported only once
test.c:22: error: for each function it appears in.)
test.c:25: error: stray '\33' in program
プログラム中の
printf("\n");
が原因らしい。
もっと言うと n" が B と認識されてるような・・・
その場しのぎで
printf("\n ");
で実行はできました