Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
RENESAS TOOL NEWS on April 1, 2004: RSO-M3T-NC30WA-040401D

A Note on Using C Compiler Package
M3T-NC30WA V.5.30 Release 1

Please take note of the following problem in using C compiler package M3T-NC30WA V.5.30 Release 1 for the M16C/60, M16C/30, M16C/Tiny, M16C/20, M16C/10, and R8C/Tiny series MCUs:
  • On including the asmmacro.h file


  1. Description
    Compiling a C source file that includes the asmmacro.h file (*) causes the following type of error to arise:
      [Error(ccom):asmmacro.h,line 85] parse error at near '__ASMMACRO'
      ===> pragma __ASMMACRO dsub_b(R0H,R0L)
    
    NOTE:
    The asmmacro.h file is a file that resides in the INC30 sub-directory under the directory where the M3T-NC30WA is installed.


  2. Example
    When the C source file containing the following #include statement is compiled, the problem occurs:
      --------------------------------------------------------
      #include <asmmacro.h>
      --------------------------------------------------------
    

  3. Workaround
    Place a hash (#) in front of the 85th line of the asmmacro.h file.
      Original:
      --------------------------------------------------------
      pragma __ASMMACRO dsub_b(R0H,R0L)
      --------------------------------------------------------
    
      Modified:
      --------------------------------------------------------
      #pragma __ASMMACRO dsub_b(R0H,R0L)
      --------------------------------------------------------
    

  4. Schedule of Fixing the Problem
    We plan to fix this problem in our next release of the product.





© 2008. Renesas Technology Corp., All rights reserved. Privacy | Legal