It's most easy to use cc instead of wpp. Below you see the cc and wpp command line:
# cc hello.cpp -o hello
/usr/watcom/10.6/bin/wpp386 -zq -ms -4r -i=/usr/watcom/10.6/usr/include -i=/usr/
include hello.cpp
/usr/watcom/10.6/bin/wlink op quiet form qnx flat na hello op priv=3 op c libp /
usr/watcom/10.6/usr/lib:/usr/lib:. f /home/root/cpp/hello.o op offset=40k op st=
32k
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.