Knowledge Base Ask Cody Resources



 
When running RPCGEN is C-preprocessing always required?
Your files will require C-Preprocessing when they contain #if, #else, #ifdef, #ifndef, #if defined etc. If the files contain these definitions please use the C-Preprocessor option.

Example
If you are using cl.exe (Microsoft's Visual C++ compiler) the argument should be
-p "cl.exe /EP /nologo" file.x.

The existing command line options can be used in conjunction with -p option.

If you are using a c-preprocessor other than cl.exe please enter the argument list as needed. The argument list should be able to send the processed file to the stdout and should only contain information for RPCGEN to do further processing. That is, the output must not contain any banner or text issued by the compiler. For Microsoft C++ the /nologo option will inhibit these.







12/22/2024   Legal notices | PRIVACY Policy |