Override Connection to the Database Instance: -Hnocheck 

Use

If you have not entered the database instance and user definition when calling the C/C++-Precompiler, and want to avoid the system terminating the compilation process with an error message, use the option –hnocheck. If you use this option, the system will not attempt to connect to a database instance so it can compile without a database running.

cpc -Hnocheck testfile