Menu

How to use on FML/FPP code?

rfchmbrs
2009-02-03
2013-05-28
  • rfchmbrs

    rfchmbrs - 2009-02-03

    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

     
    • rfchmbrs

      rfchmbrs - 2009-02-03

      Also can I retain the original comments // and /*  */ lines?

      Thanks,
      RON C

       
    • rfchmbrs

      rfchmbrs - 2009-02-03

      Also can I retain the original comments // and /*  */ lines?

      Thanks,
      RON C

       
    • Kiyoshi Matsui

      Kiyoshi Matsui - 2009-02-04

      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.

       
    • rfchmbrs

      rfchmbrs - 2009-02-04

      Thanks so much.  I found the Win32 exe reference updated in Oliver's note.

      Very nice tool.   GOOD WORK.

      RON C

       
    • rfchmbrs

      rfchmbrs - 2009-02-04

      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

       
    • rfchmbrs

      rfchmbrs - 2009-02-04

      Above errors came when -C and -P were used.

      RON C

       
    • Kiyoshi Matsui

      Kiyoshi Matsui - 2009-02-05

      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.

       

Log in to post a comment.

MongoDB Logo MongoDB