Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COWhen I said "inject a warning" to file A, I meant that I deliberated wrote code in file A that cause the compiler to issue a warning. It caused warning to an unrelated file B. What you wrote about `#pragma` is true, but I don't see any relation not to the question neither to the answer. When I said a function from file A get injected to file B, I mean that errors in file A are shown when compiling file B, even though they're unrelated. If you'll look at the title you can see I'm compiling *with* Integrity's GCC.
      singulars
    2. COI wrote about #pragma because I was speculating that (#pragma) was how you were generating the warning. I was unaware that Integrity had a GCC compiler. I thought that Green Hills only produced the Multi tool set (IDE, compiler, debugger). I thought you were compiling with the GNU Compiler Collection GCC as a sanity check. Are you saying that you can compile with a Green Hills compiler for a Linux target with success but when you compile with a Green Hills compiler for Integrity, it fails?
      singulars
    3. CONo. When I'm compiling the program with GCC for linux it succeeds. When I'm compiling the program with the Multi toolset (it's variation of gcc, it's linker etc), it fails. I'm not sure that Integrity is using GNU `gcc`, but it doesn't really matter. BTW, I didn't use #pragma to generate the warning, but it's a perfectly good method of doing that, and completely irrelevant to the question.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload