Assertion Failed - Clang Compiler Exception in PSoC® Creator™ - KBA96713

Version 4

    Version: *A


    Translation - Japanese: アサーションの失敗 - PSoC®Creator™におけるClangコンパイラの例外 - KBA96713 - Community Translated (JA)



    Why do I get an “Assertion failed!” error in the code editor of PSoC Creator?




    This is a known issue with PSoC Creator. The problem happens only in files that end in a comment and don't contain a newline at the end of the file. To overcome the issue, add a new blank line immediately after one of the following lines at the end of the file.






    /* [] END OF FILE */


    The other work around for this issue is to disable semantic parsing from the options dialog in PSoC Creator (Tools > Options > Text Editor > General. > Semantic Parsing