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.

Suppress message advice #27004 no performance advice C6000 compiler

Hello,

I compile every C++ file via my custom makefile and use the advice_peroformance option to output a file with performance advice file. Example the compiler compiles mytestapplication.cpp and generates a file called  mytestapplication.o.advice.txt

Background: I use these files to analyse performance of the code and maintain a clean output when building

Problem:
However some files return a (warning /error / remark) like the following lines:
"Ivt.asm": advice #27004: No Performance Advice is generated.
"my1.cpp": advice #27004: No Performance Advice is generated.

Question:
- Can i disable or suppress this specific message? Other warnings on stdout are usefull for me: 
  Example:   "myfile.cpp", line 203: warning #880-D: parameter "myparam" was never referenced

- Can the compiler just generate a Ivt.o.advice.txt file for me that contains the line that no performance advice is       generated for this specific file, then these files are no exception to the general rule that a peroformance file is
  generated.

NOTE: I also use the --issue_remarks option and some other options that specify output files
NOTE: i use c6000 compiler version 7.4.2

Hope you can help me out,

Thanks in advance,

Rob

  • Rob van de Voort said:
    "my1.cpp": advice #27004: No Performance Advice is generated.

    Unfortunately, there is no way to suppress just that one specific message.

    Thanks and regards,

    -George

  • Hi Rob!

    Maybe this will help (sorry for the naivety):

    Properties>Build>Compiler>Advanced Options>Diagnostic Options>Suppress diagnostic <id> (insert # warning)

    Properties>Build>Linker>Advanced Options>Diagnostic>Suppress diagnostic <id>(insert # warning)

    Regards,

    Igor