2009-09-08から1日間の記事一覧

error: duplicate 'unsigned'

仕事で stdint.h 内部の typedef でコンパイルエラーになる謎報告があった。ログから推測して以下のような状況だったのだと思う。 #define uint32_t unsigned int typedef unsigned int uint32_t; .cpp ならば、 test.cpp:3: error: duplicate 'unsigned' te…