News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

SrcFileCC Add-In

Started by TimoVJL, March 28, 2019, 02:05:21 PM

Previous topic - Next topic

TimoVJL

SrcFileCC Add-In is for running another C compiler using current source file, as second opinion, errors and warnings.
Sample SrcFileCC.ini or SrcFileCC64.ini [path]
ccpath=clang-cl.exe -W2 -Zl -GS- -Ox
include=C:\code\XXXX\include -Iinclude
path=C:\code\clang8\bin

[path64]
ccpath=clang-cl.exe -W2 -Zl -GS- -Os
ccpath1=cl.exe
include=C:\code\XXXX\include -Iinclude
path=C:\code\clang8\bin\x64

[options]
check_only=1


EDIT: for clang and Pelles C 9 headers, add -D__POCC__=900 -Wno-pragma-pack and make a modified copy of headers to new different folder.
May the source be with you

bitcoin

Sorry for the stupid question, but where is this needed?

TimoVJL

At least i sometimes want to check if code is compatible for another C compiler or to see different error message.
May the source be with you