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.

[参考译文] 使用math.h NaN可以生成干净的,但会在问题视图中导致诊断

Guru**** 2589280 points
Other Parts Discussed in Thread: MSP430F5438A

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/640500/using-math-h-nan-builds-clean-but-causes-diagnostic-in-problems-view

主题中讨论的其他部件:MSP430F5438AI包括<mathing.h>。
我将C方言选项更改为在C99模式下编译程序。 但我收到一个编译错误,Symbol NaN无法解析。
当我使用ANSI C89模式时,我得到一个编译错误符号'__Na__'无法解析。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    嗯... MSP430 NNA.6.LTS在数学.h中支持16.9 宏,并且支持--c99命令行选项,因此我不确定这里可能存在的问题。 您是否确定在使用宏NaN的每个文件中都包含了math.h? 请在此处重建您的项目并发布完整的生成控制台窗口。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    这很奇怪。 我只在1个文件中使用它。 我在生成控制台中未看到任何错误指示符。 但我在“问题”窗口中看到了一个错误,并且在我使用NaN的代码行中看到了一个多标记。

    ****配置构建调试项目259X_firmware ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake "-k -j 2 all -o
    '生成文件:../ASICport_driver.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/cccscr base/base/include"--include_path="-ccupdia_c_di_prox_proc_ps_proc_pre-c_c_ps-c=-creflinsp_c_cref="-cref="-c_di_ps_ps_ps_cref="-cret_crefus_cw_c_crefus_crefus_crefus_crefus_crefus_cref="-crefus_cref="-crefus_c_di_cw_crefus_cref="-crefus_crefus_crefus_crefus_crefus_crefus_crefus_crefus_cref="-crefus_crefus_crefus_cref 16.9
    '完成的建筑:../ASICport_driver.c'
    ''
    '正在构建文件:../USB_SERIAL_DRIVER.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=f5 --include_path="C:/ti/Ccc/cs/cccscl_base/base/include"--include_path="off_git_proc_ps_ps_proc_proc_ps_proc_pre-c_c_c_c=-c=25g/cret_ps-c_c=-cref="-cret_ps_c_c_crefus_c_c_cref="-cerran_ps_c_c_c_crefus_cref="-c_cref="-c_cref="-crefus_c_di_cref="-c_di="-"> cerran_crefus_c_ c_ c_ c_ proble_c_ c_ c_ c_ c_ c_ c_ 16.9
    '完成的建筑:../USB_SERIAL_DRIVER.c'
    ''
    '建筑文件:../adc.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/cccc7_base/include"--include_path="-ccup_c_c_c_ps_c_proc_c=-referrad_c=-c_c_ps-c_c_c=-creferrad_c_c_c=-c_c=-crefusp_c_c=-c47_c_c=-crefusp_c_c_creferricle_c_c=-c=-c_crefus_c=-creferricle_c_c=-creferran_c_c_crefus_c_c_c_c_c=-c_crefus_c_c_crefus_c_c_c_c_crefus_crefus_crefus_c 16.9
    '完成的建筑:../ADC.C'
    ''
    '建筑文件:../background.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/ccc_digile_base/include=-include_path="-ccupdiminsp_c_c_ps_c=-creferran_c_c=-cps_c=-creferran_c=-c=-creferran_c_c=-c_c47_c47_c_c=-c47_c_c=-creferran_c_c=-c=-c47_c_c=-c47_c47_c_c=-c=-c=-creferran_c=-c=-c=-c=-c=-c_c_c=-crefusp_c=-c_ c=c=c=c=c=c=c=c=c=crefus_c= 16.9
    '完成的建筑:../background.c'
    ''
    '建筑文件:../board.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/ccc_digile_base/include=-include_path="-ccupdiminsp_c_ps_c=-creferran_c_c=-creferran_c_c=-c=-cps_cps_c47_creferran_c_c=-c=-c=-c47_c47_c=-creferran_c_c=-c=-c=-c=-creferran_c_c=-c=-creferran_c_c=-c_ c_ c_ c_ c_ c_ 16.9
    '完成的建筑:../board.c'
    ''
    '正在构建文件:../Cal用户.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccccc_base/include"--include_path="-cerran_ps_c=-c30g_ps-c=preferran_c=-creferran_c_c=-crefus_c=-crefus_c_crefus_c=-crefus_crefus_c_c=-crefus_c_crefus_c=-crefus_c_crefus_crefus_c_c=-crefus_creferricle_c_c=-creferricle_c_c=-crefus_c_c=-creferricle_c_c_c_c_crefus_c_c_c_c_crefus_crefus_crefus_c= 16.9
    '完成的建筑:../Cal用户.c'
    ''
    '构建文件:../build_S3L_message.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/cscrema_cc7/Css_base_base/include"--include_path="-cep_silit_ps_ps-rema_ps-c=10g_ps-rema_ps-c=10g_diginsp_ps_ps_ps_c=-ref="-ccupdiminsprema_ps_ps_ccup_ccup_c_c=-cref="-cref_ccup_ccup_ccp_ccupdi_ccup_c_ccp_ccupdi_c_c_cref="-cref="-ccp_ccp_ccupdi_ccp_ccp_ccp_ccp_ccp_ccp_ccp_ccp_ccp_ccupdi_cref="-cref="-ccp_c 16.9
    '完成的建筑:../build_S3L_message.c'
    ''
    '正在构建文件:../schecks.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/cccscr base/base/include"--include_path="-ceparticle_ps_c_c_psnex_c_c=-cretsexclus_c_c=-c=-creferran_c=-c=-cps-c_crefus_c_c=-c47_c_c=-crefus_c_crefus_c_c=-crefus_creferricle_c_c_c=-crefus_c_crefus_c_creferricle_c_c=-creferricle_c_c=-c_c_c_c_c_crefus_c_crefus_c_crefus_c_crefus_c_crefus_c 16.9
    '完成的建筑:../Cchecksum.c'
    ''
    '建筑文件:../CRC_16.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_CRC=F5 --include_path="C:/ccc/ccp_ccsp7/base_base/compiler/include"--include_path="off_git_c_cret_c_ps_c_cret_c_c47_ps-c=-c=-c47_creferran_c_c_c=-c=-c47_c47_c_c=-c47_c=-c47_c47_c=-creferrenci_c=-c=-c=-c=-c=-c=-c=-creferran_c_c=-c=-c=-creferran_c_c=-c=-c=-c=-c_c=-c=-creflexclus_c_c=-c_c=-c_c47_c_c=-crefl 16.9
    '完成的建筑:../CRC_16.c'
    ''
    '生成文件:../convere.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:\ti/Ccc7/CS7_base_base/clude"--include_path=include_path=-cpnsp_c_c_conver_c_c=25g/converd=-c_c_ps-c_convert c_c_c_c_cref="-c_converbexclus_c_c_c_c_c=-crefus_c_c_crefus_c_c_crefus_c_c=-crefusp_c_c_crefus_c_crefus_c_cref="-c_c_c_creferricle_c_c_c_c_c_c_c_c_crefus_c_crefus_c_c_c_c_c_crefus_creflv_c= 16.9
    '完成的建筑:../convere.c'
    ''
    '生成文件:../dbl_to_flt.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_MSP.6.LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti_ccpccs/base_base/include"--include_path=dimple_cps_cerran_ps_cps=-cps_cps_cref_c_ 16.9
    '完成的建筑:../dbl_to_flt.c'
    ''
    '生成文件:../database.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/ccc_digile_base/include=-include_path="-ccupdiminsp_c_ps_c_c_cps-creferran_c=-c=-creferran_c_c=-c=-creferran_c_c=-c=-creferran_c_c=-c=-c47_c_c47_c=-c=-c47_c47_c_c=-c=-c47_c47_c_c=-c=-c=-creferran_c_c=-c=-c47_c=-c=-c=-c=-c_ 16.9
    '完成的建筑:../database.c'
    ''
    '生成文件:../debug.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_MSP.6.LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/ccc_debug_base/compiler/sinsp_cc=ccupdi=-ccp_ccupdi_c=-ccupdiminsp_c=-c_c=-cref="-ccupdexclus_c_c_c_c_c=-c=-crefus_c=-crefus_c=-crefuse_c=-creferricle_c=-c=-c=-c=-creferran_c=-crefus_c=-crefus_crefus_c=creferricle_c=-c_c=-c=c_c_c_c_crefus_crefus_c_c_c_crefus_crefus_crefus_c 16.9
    '完成的建筑:../debug.c'
    ''
    '生成文件:../delay.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:\ti/ccpccp7/Css_base_base/include"--include_path="off_ccpreferran_c_c_ps_ccupd=-ccp_ccp_ccup_ccp_c_ccupdi_c=-c=-referran_c_c_c=-referran_c_c_c=-c_c=-referrenci_c_c=-c=-creferricle_c_c=-c=-c_creferran_c=-c_c_creferrenci_c_c_c_c_creflex_c_c_c_c_c_c=22 ccp_c_c=22 ccp_creferrenci_c_c_c_c=22 ccp_c_c_c 16.9
    '完成的建筑:../delay.c'
    ''
    '生成文件:../event.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:\ti/Ccc7/CS7_base_base/clude"--include_path=include_path=-cpnsp_ps_c_c_cretiminsp_c_c_c_cps_c=-creferran_c_c=-c=-cref="-c_cret_cret_c_c_c_c_c=-c_c47_cret_c_c=-c_c=-c=-c=-creferran_c_c_c_c=-c=-crefus_c_c_c=-creferran_c_c_c_c_c_c_c_c_c_c=22 sexclus_c_c_c_c_c_c_c_c_c_cref_c_cref_c 16.9
    '完工建筑:../event.c'
    ''
    '生成文件:./fram.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_pumped=F5 --include_path="C:\ti/cccs/ccrack_base/compiler/srema_include_c=-include_cref="-ccp_ps_ps_ps-c_c=-rema_ps_c=-cerram_ps_c=-cref="-ps_ps_ps_c_c=-creferran_ps_c_c=-c_c=-cref="-ps_ps_c_cref="-ps_ps_ccp_ccp_ccp_c=22 erram_ccp_ps_ccp_ccp_ccp_ccp_c=22 ccp_ccp_ccp_ccp_c=-ps_ccp_ccp_ccp_c=-ps_ccp_ccp_ccp_ccp_c=22 16.9 ccp_ccp_ccp_
    '完成的建筑:../fram.c'
    ''
    '构建文件:../frequency_output.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccscles/base_base/include"--include_path="-cerran_ps_c_proc_ps_proc=-pref="-c_ps-c_ps-c_proc_proc_pref="-c_c_ps-c_proc=-c=-c_ps-refuspref="-c_c_c=-c=-c=-crefusprefus_ps_c_c_c=-crefusprefus_c_c_crefus_crefus_crefus_crefus_c_crefus_c_c_c_c_crefus_c_c_crefus_c_c_crefus_c=-c_crefus_crefus_crefus_c 16.9
    '完成的建筑:../frequency_output.c'
    ''
    '生成文件:./init.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/ccc_digile_base/include=-include_path="-ccup_c_ps_ps-init_c_c_c_ps-cret_c_c_c=-cret_ps-c_c=-creferran_c_c=-c_c=-c=-creferran_c_c_c_c=-c=-creferran_c_c_c=-c_c_creferran_c_c_c=-c_c=-cref_c_cref_c_c_c_c=crefus_cret_c_c_c=-c_c_c_c_c_c_crefus_cret_c_c_c_c=-c_c_c=c= 16.9
    '完成的建筑:../init.c'
    ''
    '生成文件:../keys.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_MSP.6.LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti_ccpccp7/Css_base_base/include"--include_path="-cerran_c_ps_c=-cps_c=-creferran_c_c=-c=-c47_c=-creferran_c_c_c=-c=-c47_c_c=-c47_c=-c47_c=-c=-creferrenci_c_c=-c=-c=-c=-c=-c=-creferran_c=-c=-c=-c=c=-creferran_c_c=-c=-c=-c=-c_c_c_c_c_crefus_c_c_c=-c=-c=-c=-crefus_c 16.9
    '完成的建筑:../keys.c'
    ''
    '构建文件:../flow.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_MSP.6.LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/ccsp_base_base/include"--include_path="-ccup_c_c_ps_c_c_diginsprema_c=-ref_c_ps_c_creferran_c_c=-creferran_c_c=-creferran_c_c_c=-c=-c47_creferran_c_c=-c=-creferran_c_c_c=-c47_c_c=-creferran_c_c=-crefus_c_creferran_c_c_c=-c_c=-c_c=-creflav_c_c_c_crefus_c_c_c_c_crefus_c=-creflav_c 16.9
    '完工建筑:../flow.c'
    ''
    '构建文件:../LED_RGB.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccscrate_base/compiler/include"--include_path="-crendrag_c_ps_c_rgrb_c=-creferrb_c_c=-c=-creferrb_c_c=-c=-creferrband_c_c_c=-c47_c_c=-c=-c=-creferrband_c_c=-c=-creferrband_c_c=-c=-c_c=-c=-creflidrg_c_c=-c_creflv_c_c=-c=-c_c=-c_c_creflv_c_c_c=-c_c=-c=-creflv_c_c 16.9
    '完成的建筑:../LED_RGB.c'
    ''
    '建筑文件:../LED_BAR_GRAPH.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/cscreart_cc7/Css_base_base/include"--include_path="-cpnsp_c_ps_c_digar_ps_cret_cw_ps_cerran_c_cw_cret_c_cw_cw_cw_cw_c=-cref_c_cw_c=-cref_cret_c_cw_c_cw_cw_c_cw_cref_c_c_c_cw_cw_cw_cw_c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ 16.9
    '完成的建筑:../LED_BAR_GRAPH.C'
    ''
    '建筑文件:../main.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:\ti/Ccc7/CS7_base_base/clude"--include_path=include_path=-cpnsp_ps_c_c_ps_c=-reerran_c_c=25g/cret_c_c_c_c_c_c_c=-c=23 16.9
    '完成的建筑:../主楼C
    ''
    '生成文件:../loop_current.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccsclot_base/compiler/include"--include_path="-cerran_c_ps_c=-cps-c=prefloop_c_c_cret_cret_c=-crefloop_c_c_crefus_c=-crefus_cret_c_c=-crefus_c_crefus_c_c_crefloop_c=-crefus_c_c_crefloop_cref_cref_c_creflag_c_c_creflag_creflag_c_c_c_c_cref_c_creflag_c_c_cps=-c_creflw_c_c_cps=-cps= 16.9
    '完成的建筑:../loop_current.c'
    ''
    '构建文件:../manufmode.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_mandpudle=F5 --include_path="C:\tsp_ccs/base_base/clude/include"--include_path=-cpnex_c_ps_c_ps-preferran_c_c_c=-cps-c=23 erran_c_ps_ps_c_c_cps_ps_c_c=pref="-c_c_creferrenci_c_c_c=-c_c=22 ccup_c_c_c_c_c_di_cref="-ref="-refus_c_di="-c_di="-c_di="-ref="-ref="-"> c_di="-referran_c_c_c_di="-"> 16.9 正确-"> c_di_c_di_c_di_c_di_c_di_c_c_di_c_di_
    '完成的建筑:../manifmode.c'
    ''
    '构建文件:../math_util.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:\ti/ccc/cs/ccurb_base/include"--include_path=ccup_c_ps_c_c_ps_proc_c=preferric_c_c_c=-c=10g_ps-c_ps-c_c=10gp_c_c_c=1047_c_c_c_c=10gp_c_c_c_c=10gp_c_c_c=10gp_c_c_c_c_c_c=10gp_c_c_c_c_c=22 16.9 err讯-c_c_c_c=preflexclusp_c_c_c_c_c_c_c_c_c_crefusp_c_c_c_c_crefusp_c_creflex
    '完成的建筑:../mathet_util.c'
    ''
    '生成文件:../message_parity.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccscrema_base/base/include"--include_path="-ccupit_c_c_ps_cret_c_c=-preferran_c_c_c=-c47_c=-cps_creferricle_c=-c=-c47_c_c47_c=-c=-crefus_c_crefus_c=-creferricle_c_c=-c=-c=-crefus_c=-p_cps_crefus_crefus_crefus_crefus_creferricle_c_c_c_c_c=-c_c_c_crefus_cret_c_c_c_crefus_c_creferricle_c= 16.9
    '完成的建筑:../message_parity.c'
    ''
    '构建文件:./MISC.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_MSP.6.LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/CSCR/Ccc/c_cc7_base/compiler/include=include_path="-ccp_ps-ccupdiminsp_c_c_c_c=-c=-creferran_c=-c=-c=-creferran_ps-c_c=-c=-c47_c_c=-c47_c47_c=-c_ 16.9
    '完工建筑:../MISC.C'
    ''
    '正在构建文件:../OS_TIMER。c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccs_base/compiler/include"--include_path="-sprema_c_c_ps_ps-c_ps-rema_c=10g_diag_c_ps-ref="-c_c_ps-c_c_ps-c_diginsprema_c_c_c_c_c_c_c_crefus_c=-refus_c_c=-crefus_c=-creferran_c_c_c=-cref="-cref="-c_crefus_c_c_cref="-creferricle="-c_c_c_c_c_c_c_c_c_c_c_crefus_c_c_c_c=-crefus_crefus_c 16.9
    '完成的建筑:../os_timer.c'
    ''
    '正在构建文件:../NV_data.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccscar_base/compiler/include"--include_path="nv_path="-ccp_ps_c_ps-ccpref="-ccp_ccp_ccp_ccup_c=-c_ccupdar_c=-c=-cref="-c_ccup_c_ccupdle_c_c_c=-c=-creferran_c=-c=-c=-creferran_c=-c=-c=-creferran_c_c=-c_crefus_c=-cref="-creferran_c_c_c_c=-c=-c_c_c=-crefus_c_c=-c=-crefus_c_c=-crefus_ 16.9
    '完成的建筑:../nv_data.c'
    ''
    '生成文件:../output.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_MSP.6.LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/ccsp_base_base/include"--include_path="-ccupdi_c_proc_ps_proc=-preferran_c_c=-c_ps-c=-c47_ps-c=-creferran_c_c=-c=-c=-c47_c47_c=-c=-c47_c=-preferran_c=-c=-c=-c=-crefusp_c=-c=-creferrenci_c_c=-c=-c=-crefusp_crefusp_c=-c_c=-c=-c_c_crefusp_c=-crefus_c=-c_c_crefus_c=-crefus_ 16.9
    '完成的建筑:../output.c'
    ''
    '建筑文件:../parameter.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/Ccc/cs/cccc7_base_base/include"--include_path="-ccupdi_c_c_ps_c_proc_c=-referran_c_c_c=-c=-referran_c_c=-c=-c47_c=-c47_c_c=-c47_c=-c47_c=-c=-creferran_c=-c_c=-c=-c=-c=-c47_c=-crefusp_c=-c_ 16.9
    '完成的建筑:../parameter.c'
    ''
    '建筑文件:../S3L_formatter.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti_cccccs/base_base/compiler/include"--include_path="off_sprearticle_gard_sp_sp_sp_sp_cerran_c=-c30_ginsp_c3_gard_c_cerran_c=-c3_cps_c30_c_ 16.9 格式化程序-c_c_c_c_格式化程序-c_c_c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ c_ c_
    '完工建筑:../S3L_formatter.c'
    ''
    '生成文件:../serial_driver.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccscles/base_base/include"--include_path="-cerran_ps_c_ps_proc_ps_c_predav_c=-c_c_c=-referran_c_c=-c=-creferran_ps-c_c_c_c=-c47_c=-creferran_c_c=-c=-creferrenci_c_c=-c=-c=-c47_c=-creferran_c_c=-crefus_c_c_crefus_c_crefus_c_c_c_c_c=-c_c=-crefus_c_c=-crefus_c_c=-creflv_c_c_c 16.9
    '完成的建筑:../serial_driver.c'
    ''
    '构建文件:../S3L_SERIAL_DRIVER.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bumped=F5 --include_path="C:\ti/cscile_cc7/base_base/compiler/include"--include_path="off_sprearticle_sp_ps_ps_ps-c_diag_ps_proc_ps-c_ps-ref="-c_ps-c_ps-cerran_ps-c=10_c_ps-c_ps-c=10g_ps-c=10g_di_ps-c_ps-c_ps-c_ps-ref="-ref="-c_c_ps-cw_c_c_diginsprema_c_di_c_di_c_di="-ref="-ref="-ccpref="-ccp_ccp_ccp_ccp_ccp_ccp_ccpref="-ccp_ccpref="-ccp_ccp_cc_ 16.9
    '完成的建筑:../S3L_SERIAL_DRIVER.c'
    ''
    '生成文件:../sim.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccs_base/include=-include_path="-ccsim_psim_psim_psim_psim_proc=-c_psim_psi_psi_psi_psi_psm_--c_psi_psi_proc=-c_psi_psn_psi=-c=-c_psi_psi_psi_psi_psi_psm=-c=-c=-c_psnsprema_psm_c=-c=-pref-c_c=-c=-c_psim_psi_psi_psmpsmsp_c_c_c_c=-c=-c=-c=-c=-c=-c=-c_psim_psim_ 16.9
    '完工的建筑:../sim.c'
    ''
    '生成文件:../SPI.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_SPI=F5 --include_path="C:/tsp_ccp_cc7/Css_base/include"--include_path="-spi_psi_psi_ps_psi_pre-cret_c_c_c=-creferran_c_c=-c=-c=-creferran_c_c_c=-c=-creferran_c_c=-c_c=-c47_c_c=-c=-cps_crefusp_c_c=-crefusp_c_c=-crefus_crefus_c_crefus_c_c_creferran_c_c_c_c_c_c_c=-c_c_c_c_crefus_c_c_c_c_crefus_c_crefus_c_c 16.9
    '完成的建筑:../SPI.c'
    ''
    '建筑文件:../timer_tick.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/cccs_base_base/include"--include_path="-ccupdimine_c_c_ps_proc_ps_c_prediminsp_c=-c_c=-creferran_c_c=-c=-cref="-creferran_c_c=-c_c=-c47_c=-c47_creferrence_c=-c=-c_c=-creferran_c=-c=-c=-creferran_c=-c=-cref="-c_c_crefus_crefus_c=-c_c_c=-c_c=-c=-crefus_crefus_c_c=-c=-c=-crefus_crefus 16.9
    '完成的建筑:../timer_tick.c'
    ''
    '生成文件:../token.c'
    '调用:MSP430编译器'
    c:/ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:/ti/ccc/cs/ccc_digile_base/include=-include_path="-ccup_c_c_ps-c_c_diginsp_ps_c=-referran_c_c=-creferran_c_c_c=-cps_cps_creferran_c=-c_c=-c=-creferran_c_c=-crefus_c_c=-c=-creferricle_c_c=-c47_c_c=-crefus_c=-cps_cps_crefus_creferricle_c_c_c_c_c=-c_c_c_c_cps_crefus_c_c_c_crefus_c_crefus_c= 16.9
    '完成的建筑:../token.c'
    ''
    '生成文件:../ui.c'
    '调用:MSP430编译器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430_LTS/bin/cl430" 16.9 -vmspx --data_model=restricted -off --use_HW_bumped=F5 --include_path="C:\ti/ccp_ccp7/Css_base_base/include"--include_path="off_gitle_ps_ccup_ccupdi_ccup_c=-ccupdi_ccupdi_c=-ccupdi_c_c=-ccupdi_ccupdi_c_c_c=-c=-ccupdi_c=-ccupdi_ccupdi_c_c=-c_c=-crefusprefus_c_c=-c=-crefus_c=-crefus_creferricle_c_c=-c=-c_c_c_crefus_c_c_creferricle_c_c=-c=-c=-c=-c=-creferricle_c 16.9
    完工的建筑:../ui.c'
    ''
    '正在构建目标:259X_firmware.out '
    '调用:MSP430连接器'
    c:\ti/ccsv7/tools/compiler/ti-CGT-MSP430F5438A_-g 16.9 -vmspx --data_model=restricted -Ooff --use_HW_bump=F5 --definit=_MSP430F5438a_-g --c99 --printf_support=minimal --Ooff --use_HW_budle=f=f=f;-ccup_ccup_ccup_cc7_ccup_ccup_ccup_ccup_ccup_m=7_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_ccup_git=-gi=7_ccup_ccup_ccup_ccup_ccup_ccup_gi=-ccup_ccup_ccup_git_gi=-git_-gi_gi_-git_-gi_-gi_-gi_-gi_-gi_-gi_c 16.9 16.9 xml_keys.link_info="259X_firmware_linkInfo.xml"--use_hw_bumpy=F5 --rom_model -o "259X_firmware.out"./asicport_driver.ob""./usb_serial_driver.""./asblin./obj_line.ob_line.""./obbrob."".ob_lin.ob_lin.""./ob_lin.".ob_lin.".ob_lin.""./ob_lin.ob.ob.".""."./ob_lin.".".".".".ob_lin./ob."."."."."./ob_lin."."."."./ob_lin.".".".".".".".".ob_lin."./ob_lin."."./ob_lin.".".".".".".".".".".".".".
    链接>
    '完成构建目标:259X_firmware.out '
    ''

    ****构建已完成****
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您发布的构建控制台内容显示成功构建,没有错误或警告。 您在"问题"窗口中收到的确切消息是什么?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    无法解析符号'__Naan__'
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    当我注释NaN时,错误消失。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    据我所能判断,该消息不是来自链接器,也不是来自编译器中的任何位置。 如果程序正确构建和链接,则可能不是编译器问题。 运行可执行文件时会发生什么情况?

    它必须是某种静态源代码分析工具。 我不确定它如何看到后预处理符号__Na__.
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    当我启动调试器时,我收到一条错误存在于所需项目中的消息。 但当我单击"继续"时,它运行正常。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请截屏并将其附加到下一篇文章中。

    谢谢,此致,

    -George

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你好,Jeffery:
    该错误是Eclipse的Codan错误,而不是构建工具的构建错误。 Codan是Eclipse的静态代码分析工具:
    help.eclipse.org/.../index.jsp

    有时会有一些不会影响构建的误报。 在这些情况下,可以忽略该消息。

    但是,我无法在我的最后重现该问题。使用NaN不会为我生成该错误。 是否可以提供测试案例? 我只需要一个非常简单的项目,只要这个问题能够重现。

    谢谢
    KI
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我尝试创建一个新项目。 但我不能再提出这个问题。 当我将项目重新导入到CCS时,我的Nan问题消失了。
    谢谢。