This project is read-only.

VCC can't

Oct 19, 2014 at 12:41 PM
I try to verify code which includes openssl headers, but VCC complains about not finding them. Is there any posibility to tell VCC where to look?
Oct 19, 2014 at 5:51 PM
A while ago (not checked for most recent versions) this was done the following way:

"vcc /p:/FItest.h test.c" or "vcc /p:/FIC:\my-path-to-header\test.h test.c"

iiirc, "/p" is for preprocessor, "/FI" for force include, "C:\" would be an example of a drive letter.

hth, Holger (CfP International Workshop on MILS: )
Oct 19, 2014 at 11:13 PM
That still works, thank you! But I don't get it how to do it for more than one file? (Best would be the whole directory.) The same command twice doesn't work :-/

Cheers, Max
Oct 20, 2014 at 3:46 PM
"vcc /p:/IC:\my-path-to-header-directory\ test.c" . "/I" is include directory. FWIW, in the past to add more than one option, also, "vcc /p:/FImyheader1.h /p:/FImyheader2.h test.c" would have worked. Options to "/p" are those of cl.exe (e.g. ) Best, H