Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードがあります。
#define NUMBER_OF_ROOMS if((unsigned int)(NUMBER_OF_ROOMS - 2) > 20) { // do something here }
しかし、糸くずの警告が表示されました: Warning 506: Constant value Boolean、これは何を意味し、どのように修正しますか?
Warning 506: Constant value Boolean