.file_attr 1="1";

Building a project imported from CCES 1.1.0 to 2.3.0 I get this error:

[Error ea5004] "C:\Users\G\AppData\Local\Temp\acc3554de5a000\acc3554de5a001.s":659 Syntax Error in :
.file_attr 1="1";
syntax error is at or near text '1'.
Attempting error recovery by ignoring text until the ';'

It doesn't seem to be associated with the particular source file being compiled, it moves around. I can't view the temporary .s file as it is deleted immediately after the error. Any ideas what could be causing this?

Parents
  • 0
    •  Analog Employees 
    on Oct 10, 2016 10:22 AM

    Hi Gideon,

    Sorry for the delay in responding.

    The cause of the problem is "-file-attr CORE0" and "-DCORE0" both being included on the compiler command-line. Could you delete CORE0 from the "Additional attributes" in Tools Settings > CrossCore Blackfin C/C++ Compiler > General as this should hopefully fix it. If you have any core 1 projects you should delete the CORE1 attribute for those. You'll need to do this for each build configuration , i.e Debug and Release.

    Regards,

    Stuart.

Reply
  • 0
    •  Analog Employees 
    on Oct 10, 2016 10:22 AM

    Hi Gideon,

    Sorry for the delay in responding.

    The cause of the problem is "-file-attr CORE0" and "-DCORE0" both being included on the compiler command-line. Could you delete CORE0 from the "Additional attributes" in Tools Settings > CrossCore Blackfin C/C++ Compiler > General as this should hopefully fix it. If you have any core 1 projects you should delete the CORE1 attribute for those. You'll need to do this for each build configuration , i.e Debug and Release.

    Regards,

    Stuart.

Children
No Data