[問題] CPPCheck 會警告 OMP 的計數器?

作者: wope (獨立黑色色彩)   2014-10-09 15:10:20
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
GCC 4.7.2 + MinGW64
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
OMP.h
問題(Question):
CPPCheck V1.66 會警告可執行且執行成果正確的語法
餵入的資料(Input):

預期的正確結果(Expected Output):
不要警告
錯誤結果(Wrong Output):
發出警告
程式碼(Code):(請善用置底文網頁, 記得排版)
#include<stdio.h>
#include <windows.h>
#include<omp.h>
int main(void) {
int Total=60;//一共要跑幾次 <
作者: azureblaze (AzureBlaze)   2014-10-09 15:43:00
你知道他是在檢查什麼嗎
作者: chosen4040 (Mr.Pistol)   2014-10-09 16:41:00
開始平行前面少個斜線/有影響嗎? 問一下
作者: carylorrk (carylorrk)   2014-10-09 17:58:00
cppcheck 在 openmp 上不會有問題嗎?

Links booklink

Contact Us: admin [ a t ] ucptt.com