watcom C versus C++

Given the following code:

void foo(void)



The C compiler will generate code with a single instance of the
“Hello\n” string, thereby saving memory. Unfortunaltely, the C++ will
not. I looked through all the documentation and couldn’t find a switch
to have the C++ compiler behave the same as the C compiler.

Any hints?

  • Mario