This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Build Options的编译选项卡的-pdsw225是什么意思?

在CCS3.3建立工程时,发现Build Options的编译选项卡里默认含有-pdsw225
请问-pdsw225是什么意思?

  • 楼主,该编译选项在<Optimizeing C&C++ Compiler User Guide>(SPRU514E)中描述如下:

    DIAG_WARNING num   -pdsw=num[, num2, num3...]    Treat diagnostic num as a warning

    --diag_warning=num

    Categorizes the diagnostic identified by num as a warning. To determine the numeric identifier of a diagnostic message, use the --display_error_number option first in a separate compile. Then use --diag_warning=num to recategorize the diagnostic as a warning. You can only alter the severity of discretionary diagnostics.

    楼主自己翻译一下就知道啥意思了:)

  • 末末 说:

    楼主,该编译选项在<Optimizeing C&C++ Compiler User Guide>(SPRU514E)中描述如下:

    DIAG_WARNING num   -pdsw=num[, num2, num3...]    Treat diagnostic num as a warning

    --diag_warning=num

    Categorizes the diagnostic identified by num as a warning. To determine the numeric identifier of a diagnostic message, use the --display_error_number option first in a separate compile. Then use --diag_warning=num to recategorize the diagnostic as a warning. You can only alter the severity of discretionary diagnostics.

    楼主自己翻译一下就知道啥意思了:)

    num是否是系统保留的?例如上面的225是什么意思?