List of all diagnostic messages

Technical Note 19785

Arkitekturer:

All

Komponent:

compiler

Uppdaterad:

2015-11-06 12:31

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.

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av iar.com rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.