NO

Author Topic: SrcFileCC Add-In  (Read 4863 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
SrcFileCC Add-In
« on: March 28, 2019, 02:05:21 PM »
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
Code: [Select]
[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.
« Last Edit: April 01, 2019, 01:08:36 PM by TimoVJL »
May the source be with you

Offline bitcoin

  • Member
  • *
  • Posts: 179
Re: SrcFileCC Add-In
« Reply #1 on: March 28, 2019, 08:23:50 PM »
Sorry for the stupid question, but where is this needed?

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: SrcFileCC Add-In
« Reply #2 on: March 29, 2019, 08:51:21 AM »
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