모든 진단 메시지 목록

기술노트 19785

아키텍처:

All

컴포넌트:

compiler

업데이트:

2018-02-28 오전 1:45

Introduction

IAR compilers can be forced to export a list of all diagnostic messages.

Actions

From command line

  • Open a command prompt.
  • Enter a command line with three parts.
    • First is a reference (for example the icc430.exe in IAR Embedded Workbench for MSP430) to your compiler. (You might have to add the path to the location of the compiler.)
    • Second the option: --diagnostics_tables
    • Third a file name (for example messages.txt ) and here you can/must also add a path so that the file is created where you have permissions to create a file.

So the command line (without paths) looks like:

icc430.exe --diagnostics_tables messages.txt
  • The file messages.txt is created in the directory you have pointed out with the path.

In IAR Embedded Workbench

  • Open Project > Options > C/C++ compiler > Extra options
  • Enable the extra options
  • Enter this command line option:
  • --diagnostics_tables messages.txt
  • the file messages.txt is created in the project directory.
  • Remove the command line option, as otherwise the file is generated each time you compile a file.

All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.