There are variants of C/C++ that I use. These are FML/FPP files for FilterMeister Photoshop plugin compiler. I'm able to use MCPP for most operations just like in VC++ but MCPP inserts #line 41 "C:/PROGRA~1/Adobe/PS_PLU~1/fm/fm_dll/FM_FTr/PFM_FTrX.fml" throughout the output. In scanning the manual, I can't find how to turn them off. If possible, this could make using FilterMeister much easier.
Thanks,
RON C
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Use -P option to turn off #line output.
Use -C option to keep the comments.
However, mcpp -C option has a defect for // style comment.
Please apply the patch by Oliver Schneider in 'Re: "-C" fails with single line comments ...' on 20th, January in this Open Discussion Forum.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are variants of C/C++ that I use. These are FML/FPP files for FilterMeister Photoshop plugin compiler. I'm able to use MCPP for most operations just like in VC++ but MCPP inserts #line 41 "C:/PROGRA~1/Adobe/PS_PLU~1/fm/fm_dll/FM_FTr/PFM_FTrX.fml" throughout the output. In scanning the manual, I can't find how to turn them off. If possible, this could make using FilterMeister much easier.
Thanks,
RON C
Also can I retain the original comments // and /* */ lines?
Thanks,
RON C
Also can I retain the original comments // and /* */ lines?
Thanks,
RON C
Use -P option to turn off #line output.
Use -C option to keep the comments.
However, mcpp -C option has a defect for // style comment.
Please apply the patch by Oliver Schneider in 'Re: "-C" fails with single line comments ...' on 20th, January in this Open Discussion Forum.
Thanks so much. I found the Win32 exe reference updated in Oliver's note.
Very nice tool. GOOD WORK.
RON C
After closer inspection, the new exe doesn't work properly.
k1 = 1;//initial filter index
becomes
//initial filter index k1 = 1;
I have commented to Oliver also.
RON C
Above errors came when -C and -P were used.
RON C
mcpp-2.7.2 with the Oliver's patch works well for your sample line.
If you apply the patch to the mcpp source and compile, it will work, I think.